Skip to content

Commit

Permalink
organize simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
dzaporozhets committed Jan 7, 2013
1 parent 71c8801 commit 92a619a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .simplecov
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# .simplecov
SimpleCov.start 'rails' do
merge_timeout 3600
end
5 changes: 1 addition & 4 deletions features/support/env.rb
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
5 changes: 1 addition & 4 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 92a619a

Please sign in to comment.