Update the tests

This commit is contained in:
Rafael Mendonça França 2014-03-21 15:46:08 -03:00
parent 0391be0951
commit ec038b10a7
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ class SimpleFormGeneratorTest < Rails::Generators::TestCase
run_generator %w(--bootstrap)
assert_file 'config/initializers/simple_form.rb',
/config\.default_wrapper = :default/, /config\.boolean_style = :nested/
assert_file 'config/initializers/simple_form_bootstrap.rb', /config\.wrappers :bootstrap/,
/config\.default_wrapper = :bootstrap/
assert_file 'config/initializers/simple_form_bootstrap.rb', /config\.wrappers :vertical_form/,
/config\.wrappers :horizontal_form/, /config\.default_wrapper = :vertical_form/
end
test 'generates the simple_form initializer with the foundation wrappers' do