Skip to content

Commit

Permalink
simplecov should be required at first
Browse files Browse the repository at this point in the history
  • Loading branch information
k-tsj committed Sep 17, 2017
1 parent de69808 commit 0db947a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
begin
require 'bundler'
Bundler.require

if ENV['COVERAGE']
require 'simplecov'
SimpleCov.start do
add_filter '/test/'
add_filter '/vendor/'
end
end

require 'bundler'
Bundler.require
rescue LoadError
end

Expand Down

0 comments on commit 0db947a

Please sign in to comment.