diff options
author | Timm <kaspth@gmail.com> | 2013-10-13 21:56:29 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-16 21:04:22 +0200 |
commit | dd48b0aadc64124988b996dd609f78322131c122 (patch) | |
tree | 29fcc72369cb8da4584f2a1574e2ea2d2df7b9d7 /actionview/test/template | |
parent | 2a7f13ebf8cc27e0d0fa19cc737c9c2ecea3040e (diff) | |
download | rails-dd48b0aadc64124988b996dd609f78322131c122.tar.gz rails-dd48b0aadc64124988b996dd609f78322131c122.tar.bz2 rails-dd48b0aadc64124988b996dd609f78322131c122.zip |
Migrated test away from escaped quotes.
Diffstat (limited to 'actionview/test/template')
-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 00002ddf04..b94e153fe6 100644 --- a/actionview/test/template/form_collections_helper_test.rb +++ b/actionview/test/template/form_collections_helper_test.rb @@ -211,7 +211,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 - assert_select "input[type=hidden][name='user[category_ids][]'][value=\"\"]", :count => 1 + assert_select "input[type=hidden][name='user[category_ids][]'][value='']", :count => 1 end test 'collection check boxes generates a hidden field using the given :name in :html_options' do |