diff options
author | Timm <kaspth@gmail.com> | 2013-10-11 13:16:57 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-16 21:04:19 +0200 |
commit | 648f7481e4f196712da7426c27e89be91062aa00 (patch) | |
tree | 1e8ade9644e1fb5e889d01b63d753001adc284cf /actionview | |
parent | 82e0705bdf83e7864f3678986709854f47936a2e (diff) | |
download | rails-648f7481e4f196712da7426c27e89be91062aa00.tar.gz rails-648f7481e4f196712da7426c27e89be91062aa00.tar.bz2 rails-648f7481e4f196712da7426c27e89be91062aa00.zip |
Fixed deprecated selector in form_collections_helper_test.rb with from catch_invalid_selector. Sweet.
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/test/template/form_collections_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/form_collections_helper_test.rb b/actionview/test/template/form_collections_helper_test.rb index 57d9dce5cd..00002ddf04 100644 --- a/actionview/test/template/form_collections_helper_test.rb +++ b/actionview/test/template/form_collections_helper_test.rb @@ -218,7 +218,7 @@ class FormCollectionsHelperTest < ActionView::TestCase collection = [Category.new(1, 'Category 1'), Category.new(2, 'Category 2')] with_collection_check_boxes :user, :category_ids, collection, :id, :name, {}, {name: "user[other_category_ids][]"} - assert_select "input[type=hidden][name='user[other_category_ids][]'][value=]", :count => 1 + assert_select "input[type=hidden][name='user[other_category_ids][]'][value='']", :count => 1 end test 'collection check boxes generates a hidden field with index if it was provided' do |