organize simplecov

This commit is contained in:
Dmitriy Zaporozhets 2013-01-07 22:22:35 +02:00
parent 71c8801eef
commit 92a619ad28
3 changed files with 6 additions and 8 deletions

4
.simplecov Normal file
View file

@ -0,0 +1,4 @@
# .simplecov
SimpleCov.start 'rails' do
merge_timeout 3600
end

View file

@ -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'

View file

@ -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'