1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00

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

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