aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-12 14:51:09 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-12 14:51:09 -0700
commit14c847d9edddfb8906969ca29837ca7c548824d1 (patch)
tree9872ae8d0eacc2a23c3ff61e3a3bde702207d372 /actionview
parent682745164033a5389917a20f607148222c314179 (diff)
parent87fe7e9b1627ba8f407b2b299c15aca1c82aabca (diff)
downloadrails-14c847d9edddfb8906969ca29837ca7c548824d1.tar.gz
rails-14c847d9edddfb8906969ca29837ca7c548824d1.tar.bz2
rails-14c847d9edddfb8906969ca29837ca7c548824d1.zip
Merge pull request #12209 from waynn/patch-4
"generates" applies to "collection radio" so it should be singular
Diffstat (limited to 'actionview')
-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'