diff options
author | Rafael Mendonça França <rafael.franca@plataformatec.com.br> | 2013-09-12 18:46:42 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafael.franca@plataformatec.com.br> | 2013-09-12 18:46:42 -0300 |
commit | de5c931b2c2a831255de8b5144d3c0d8267901ee (patch) | |
tree | ac89c8ffc81b2c622c0dd6c5fc378a51675f09c8 /actionview/test | |
parent | ba46d524db1d8a76a12bb4cc589d1c0943fe645c (diff) | |
download | rails-de5c931b2c2a831255de8b5144d3c0d8267901ee.tar.gz rails-de5c931b2c2a831255de8b5144d3c0d8267901ee.tar.bz2 rails-de5c931b2c2a831255de8b5144d3c0d8267901ee.zip |
Revert ""generates" applies to "collection radio" so it should be singular"
This reverts commit faeb33dc036e4f707491c91a23ee3e990573141b.
Reason: Code changes can't be done on docrails
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/template/form_collections_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/test/template/form_collections_helper_test.rb b/actionview/test/template/form_collections_helper_test.rb index b56847396d..5b8afddc41 100644 --- a/actionview/test/template/form_collections_helper_test.rb +++ b/actionview/test/template/form_collections_helper_test.rb @@ -17,14 +17,14 @@ class FormCollectionsHelperTest < ActionView::TestCase end # COLLECTION RADIO BUTTONS - test 'collection radio accepts a collection and generates inputs from value method' do + test 'collection radio accepts a collection and generate inputs from value method' do with_collection_radio_buttons :user, :active, [true, false], :to_s, :to_s assert_select 'input[type=radio][value=true]#user_active_true' assert_select 'input[type=radio][value=false]#user_active_false' end - test 'collection radio accepts a collection and generates inputs from label method' do + test 'collection radio accepts a collection and generate inputs from label method' do with_collection_radio_buttons :user, :active, [true, false], :to_s, :to_s assert_select 'label[for=user_active_true]', 'true' |