diff --git a/.simplecov b/.simplecov new file mode 100644 index 0000000000000000000000000000000000000000..d979288df44bfa11d3bbc74b52bae975631a4dbf --- /dev/null +++ b/.simplecov @@ -0,0 +1,4 @@ +# .simplecov +SimpleCov.start 'rails' do + merge_timeout 3600 +end diff --git a/features/support/env.rb b/features/support/env.rb index 1f75d84954a2a880425afed28f4345a9588f4d3f..72531718e0c98618508762508c45787f85d967b1 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -1,7 +1,4 @@ -unless ENV['CI'] - require 'simplecov' - SimpleCov.start 'rails' -end +require 'simplecov' unless ENV['CI'] ENV['RAILS_ENV'] = 'test' require './config/environment' diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a1331fa79db40289cf5c899da7cabe7c9bf44fa8..edabcc3362549bbfc51b1e4822589141c02df36b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,7 +1,4 @@ -unless ENV['CI'] - require 'simplecov' - SimpleCov.start 'rails' -end +require 'simplecov' unless ENV['CI'] # This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] ||= 'test'