Permalink
Browse files

Oops! Ruby 1.8 😢

  • Loading branch information...
1 parent 34cb0ef commit 0d479195b0b979717818f4fbab5e34495f44e6be @rafaelfranca rafaelfranca committed Jan 22, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/action_view_extensions/builder_test.rb
@@ -252,10 +252,10 @@ def with_collection_check_boxes(object, attribute, collection, value_method, tex
concat f.hidden_field :name
end
- assert_select 'label.true[for=user_active_true]', text: 'true', count: 1 do
+ assert_select 'label.true[for=user_active_true]', :text => 'true', :count => 1 do
assert_select 'input#user_active_true[type=radio]'
end
- assert_select 'label.false[for=user_active_false]', text: 'false', count: 1 do
+ assert_select 'label.false[for=user_active_false]', :text => 'false', :count => 1 do
assert_select 'input#user_active_false[type=radio]'
end
end
@@ -563,10 +563,10 @@ def with_collection_check_boxes(object, attribute, collection, value_method, tex
concat f.hidden_field :name
end
- assert_select 'label.true[for=user_active_true]', text: 'true', count: 1 do
+ assert_select 'label.true[for=user_active_true]', :text => 'true', :count => 1 do
assert_select 'input#user_active_true[type=checkbox]'
end
- assert_select 'label.false[for=user_active_false]', text: 'false', count: 1 do
+ assert_select 'label.false[for=user_active_false]', :text => 'false', :count => 1 do
assert_select 'input#user_active_false[type=checkbox]'
end
end

0 comments on commit 0d47919

Please sign in to comment.