aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test
diff options
context:
space:
mode:
authorWaynn Lue <WLGades@gmail.com>2013-09-12 14:48:57 -0700
committerWaynn Lue <WLGades@gmail.com>2013-09-12 14:48:57 -0700
commit87fe7e9b1627ba8f407b2b299c15aca1c82aabca (patch)
tree9872ae8d0eacc2a23c3ff61e3a3bde702207d372 /actionview/test
parent682745164033a5389917a20f607148222c314179 (diff)
downloadrails-87fe7e9b1627ba8f407b2b299c15aca1c82aabca.tar.gz
rails-87fe7e9b1627ba8f407b2b299c15aca1c82aabca.tar.bz2
rails-87fe7e9b1627ba8f407b2b299c15aca1c82aabca.zip
"generates" applies to "collection radio" so it should be singular
I accidentally pushed this change to docrails before realizing that it's technically a code change, so I'm opening this pull request (and rolling back my change to docrails).
Diffstat (limited to 'actionview/test')
-rw-r--r--actionview/test/template/form_collections_helper_test.rb4
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 5b8afddc41..b56847396d 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 generate inputs from value method' do
+ test 'collection radio accepts a collection and generates 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 generate inputs from label method' do
+ test 'collection radio accepts a collection and generates 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'