Skip to content

Commit 92a619a

Browse files
committed
organize simplecov
1 parent 71c8801 commit 92a619a

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.simplecov

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# .simplecov
2+
SimpleCov.start 'rails' do
3+
merge_timeout 3600
4+
end

features/support/env.rb

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
unless ENV['CI']
2-
require 'simplecov'
3-
SimpleCov.start 'rails'
4-
end
1+
require 'simplecov' unless ENV['CI']
52

63
ENV['RAILS_ENV'] = 'test'
74
require './config/environment'

spec/spec_helper.rb

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
unless ENV['CI']
2-
require 'simplecov'
3-
SimpleCov.start 'rails'
4-
end
1+
require 'simplecov' unless ENV['CI']
52

63
# This file is copied to spec/ when you run 'rails generate rspec:install'
74
ENV["RAILS_ENV"] ||= 'test'

0 commit comments

Comments
 (0)