Skip to content
Browse files

"generates" applies to "collection radio" so it should be singular

  • Loading branch information...
1 parent d262773 commit faeb33dc036e4f707491c91a23ee3e990573141b @waynn waynn committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionview/test/template/form_collections_helper_test.rb
View
4 actionview/test/template/form_collections_helper_test.rb
@@ -17,14 +17,14 @@ def with_collection_check_boxes(*args, &block)
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'

0 comments on commit faeb33d

Please sign in to comment.
Something went wrong with that request. Please try again.