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:
parent
0391be0951
commit
ec038b10a7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue