diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 24a644e..4eaa72d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -9,11 +9,13 @@ Spork.prefork do RSpec.configure do |config| config.backtrace_exclusion_patterns << /\/bundler\/gems\// + config.infer_spec_type_from_file_location! + config.use_transactional_fixtures = true + config.include FactoryGirl::Syntax::Methods config.include AcceptanceHelpers, type: :feature config.include AcceptanceHelpers, type: :request - config.infer_spec_type_from_file_location! - config.use_transactional_fixtures = true + config.after(:all) do `rm -f #{Rails.configuration.sounds_path}/*` end