fix the generator test

This commit is contained in:
Lucas Mazza 2012-01-24 18:08:12 -02:00
parent 7f16eaaa04
commit dc2518691d
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class SimpleFormGeneratorTest < Rails::Generators::TestCase
test 'generates the simple_form initializer with the bootstrap wrappers' do
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
%W(erb haml slim).each do |engine|