Skip to content

Commit

Permalink
ignore coverage for generated client lib
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0ngway committed Jul 14, 2021
1 parent 22b3584 commit 2d540c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
# start
SimpleCov.start do
add_filter 'spec'
add_filter '/client/'
end
end
SimpleCov.start do
add_filter 'spec'
add_filter '/client/'
end

require 'vcr'
Expand All @@ -33,6 +35,10 @@ def fixture_dir
@fixture_dir ||= File.expand_path("../fixtures", __FILE__)
end

def logger
::Logging.logger.root
end

VCR.configure do |c|
c.cassette_library_dir = "#{fixture_dir}/vcr"
c.hook_into :webmock
Expand Down

0 comments on commit 2d540c0

Please sign in to comment.