Permalink
Browse files

Update test/action_view_extensions/builder_test.rb

update for syntax
  • Loading branch information...
1 parent be721c1 commit 9221f23c36d4b16e2e64a4478c1ccb9899c96a24 @achempion achempion committed Dec 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/action_view_extensions/builder_test.rb
@@ -584,7 +584,7 @@ def with_collection_check_boxes(object, attribute, collection, value_method, tex
test 'fields don\'t inherites wrapper option from the parent form' do
swap_wrapper :another do
simple_form_for(:user, :wrapper => :another) do |f|
- f.simple_fields_for(:company, wrapper: false) do |company|
+ f.simple_fields_for(:company, :wrapper => false) do |company|
assert_not_equal :another, company.options[:wrapper]
end
end

0 comments on commit 9221f23

Please sign in to comment.