fix the generator test
This commit is contained in:
parent
7f16eaaa04
commit
dc2518691d
|
@ -17,7 +17,7 @@ class SimpleFormGeneratorTest < Rails::Generators::TestCase
|
||||||
|
|
||||||
test 'generates the simple_form initializer with the bootstrap wrappers' do
|
test 'generates the simple_form initializer with the bootstrap wrappers' do
|
||||||
run_generator %w(--bootstrap)
|
run_generator %w(--bootstrap)
|
||||||
assert_file 'config/initializers/simple_form.rb', /config\.wrappers :bootstrap/, /config\.default_wrapper :bootstrap/
|
assert_file 'config/initializers/simple_form.rb', /config\.wrappers :bootstrap/, /config\.default_wrapper = :bootstrap/
|
||||||
end
|
end
|
||||||
|
|
||||||
%W(erb haml slim).each do |engine|
|
%W(erb haml slim).each do |engine|
|
||||||
|
|
Loading…
Reference in New Issue