Update the tests
This commit is contained in:
parent
0391be0951
commit
ec038b10a7
|
@ -21,8 +21,8 @@ class SimpleFormGeneratorTest < Rails::Generators::TestCase
|
||||||
run_generator %w(--bootstrap)
|
run_generator %w(--bootstrap)
|
||||||
assert_file 'config/initializers/simple_form.rb',
|
assert_file 'config/initializers/simple_form.rb',
|
||||||
/config\.default_wrapper = :default/, /config\.boolean_style = :nested/
|
/config\.default_wrapper = :default/, /config\.boolean_style = :nested/
|
||||||
assert_file 'config/initializers/simple_form_bootstrap.rb', /config\.wrappers :bootstrap/,
|
assert_file 'config/initializers/simple_form_bootstrap.rb', /config\.wrappers :vertical_form/,
|
||||||
/config\.default_wrapper = :bootstrap/
|
/config\.wrappers :horizontal_form/, /config\.default_wrapper = :vertical_form/
|
||||||
end
|
end
|
||||||
|
|
||||||
test 'generates the simple_form initializer with the foundation wrappers' do
|
test 'generates the simple_form initializer with the foundation wrappers' do
|
||||||
|
|
Loading…
Reference in New Issue