diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d654ba1..8c98cb4 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.backtrace_exclusion_patterns << /\/bundler\/gems\// config.include FactoryGirl::Syntax::Methods config.infer_spec_type_from_file_location! config.use_transactional_fixtures = true