delete test-related files after test execution

This commit is contained in:
Hauke Klement
2015-02-09 10:03:57 +01:00
parent 222b685fa2
commit a5349fa94f

View File

@ -15,6 +15,7 @@ RSpec.configure do |config|
end
config.after(:suite) do
FileUtils.rm_rf(Rails.root.join('tmp', 'files', 'test'))
`which docker && test -n "$(docker ps --all --quiet)" && docker rm --force $(docker ps --all --quiet)`
end
end