mirror of
https://github.com/heartcombo/simple_form.git
synced 2022-11-09 12:19:26 -05:00
Remove test/tmp dir after running generator tests
This commit is contained in:
parent
961f5f577e
commit
dbf11d94ac
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ class SimpleFormGeneratorTest < Rails::Generators::TestCase
|
|||
tests SimpleForm::Generators::InstallGenerator
|
||||
destination File.expand_path('../../tmp', __FILE__)
|
||||
setup :prepare_destination
|
||||
teardown { rm_rf(destination_root) }
|
||||
|
||||
test 'generates example locale file' do
|
||||
run_generator
|
||||
|
@ -26,4 +27,4 @@ class SimpleFormGeneratorTest < Rails::Generators::TestCase
|
|||
assert_file "lib/templates/#{engine}/scaffold/_form.html.#{engine}"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue