organize simplecov
This commit is contained in:
parent
71c8801eef
commit
92a619ad28
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' unless ENV['CI']
|
||||||
require 'simplecov'
|
|
||||||
SimpleCov.start 'rails'
|
|
||||||
end
|
|
||||||
|
|
||||||
ENV['RAILS_ENV'] = 'test'
|
ENV['RAILS_ENV'] = 'test'
|
||||||
require './config/environment'
|
require './config/environment'
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
unless ENV['CI']
|
require 'simplecov' unless ENV['CI']
|
||||||
require 'simplecov'
|
|
||||||
SimpleCov.start 'rails'
|
|
||||||
end
|
|
||||||
|
|
||||||
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
||||||
ENV["RAILS_ENV"] ||= 'test'
|
ENV["RAILS_ENV"] ||= 'test'
|
||||||
|
|
Loading…
Reference in a new issue