diff --git a/spec/support/rspec_run_time.rb b/spec/support/rspec_run_time.rb index 9c272ab7c4feb5b88e6e4534ec89e9ee84009804..7dc60d2f8a9175439eb35b3e8126e92f47ce7b40 100644 --- a/spec/support/rspec_run_time.rb +++ b/spec/support/rspec_run_time.rb @@ -10,7 +10,7 @@ module RSpecRunTime class RSpecFormatter < RSpec::Core::Formatters::BaseFormatter include Tooling::Helpers::DurationFormatter - TIME_LIMIT_IN_MINUTES = 80 + TIME_LIMIT_IN_MINUTES = Integer(ENV['RSPEC_TIME_LIMIT_IN_MINUTES'] || 80) RSpec::Core::Formatters.register self, :example_group_started, :example_group_finished