Skip to content

Commit

Permalink
Exclude test path
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrazo committed May 16, 2018
1 parent 921d3e2 commit 8128227
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
require 'test/unit'
require 'rubygems'
require 'timecop'
require 'yaml'

# add Coveralls and SimpleCov support
begin
require 'simplecov'
Expand All @@ -12,11 +7,18 @@
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start
SimpleCov.start do
add_filter = '/test/'
end
rescue LoadError
puts 'Coverage disabled, enable by installing simplecov'
end

require 'test/unit'
require 'rubygems'
require 'timecop'
require 'yaml'

YAML::ENGINE.yamler = 'psych' if defined? YAML::ENGINE
require File.expand_path(File.dirname(__FILE__) + '/../lib/faker')

Expand Down

0 comments on commit 8128227

Please sign in to comment.