organize simplecov
This commit is contained in:
parent
71c8801eef
commit
92a619ad28
3 changed files with 6 additions and 8 deletions
4
.simplecov
Normal file
4
.simplecov
Normal file
|
@ -0,0 +1,4 @@
|
|||
# .simplecov
|
||||
SimpleCov.start 'rails' do
|
||||
merge_timeout 3600
|
||||
end
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue