From 2799db2e388c5c036da6ba4a255993d948ecd0f9 Mon Sep 17 00:00:00 2001 From: Hauke Klement Date: Fri, 6 Feb 2015 16:08:19 +0100 Subject: [PATCH] disabled timeout detection for RSpec tests --- spec/rails_helper.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 88b2a5bc..d26a9460 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -1,5 +1,3 @@ -MAXIMUM_EXECUTION_TIME = 15 - # This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] ||= 'test' require 'spec_helper' @@ -21,10 +19,6 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } ActiveRecord::Migration.maintain_test_schema! RSpec.configure do |config| - config.around(:each) do |example| - Timeout::timeout(example.metadata[:permitted_execution_time] || MAXIMUM_EXECUTION_TIME) { example.run } - end - # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures config.fixture_path = "#{::Rails.root}/spec/fixtures"