Use a dedicated dedicated directory for specs

This commit is contained in:
Thibault Jouan 2012-05-04 19:08:29 +00:00
parent 9b9e17e591
commit 85efa1729d

View File

@ -10,6 +10,7 @@ Spork.prefork do
RSpec.configure do |config|
config.mock_with :rspec
config.use_transactional_fixtures = true
Rails.configuration.sounds_path = "#{Rails.root}/tmp/spec/data/sounds"
config.after(:all) do
`rm -f #{Rails.configuration.sounds_path}/*`
end