From b70071a7c3baa1115ccc6dc0c11ed15b55d25251 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Wed, 29 Apr 2015 13:00:14 +0000 Subject: [PATCH] Update rspec configuration for rspec-rails 3 --- spec/spec_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index cd64829..14fc638 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -8,6 +8,7 @@ Spork.prefork do Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f } RSpec.configure do |config| + config.infer_spec_type_from_file_location! config.mock_with :rspec config.use_transactional_fixtures = true Rails.configuration.sounds_path = "#{Rails.root}/tmp/spec/data/sounds"