ignore spec simplecov.

This commit is contained in:
ZippyDev 2020-07-26 19:13:19 -06:00
parent fed9140ce3
commit 4303a2797f
3 changed files with 5 additions and 5 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
.rspec_status
coverage
.DS_Store

View File

@ -6,9 +6,6 @@ RSpec.describe BtcPay do
end
describe '.new' do
it do
expect(described_class.new(auth_token: '123', base_url: 'http://localhost'))
.to be_a(BtcPay::Client::Base)
end
it { expect(described_class.new(auth_token: '123', base_url: 'http://localhost')).to be_a(BtcPay::Client::Base) }
end
end

View File

@ -1,7 +1,9 @@
# frozen_string_literal: true
require 'simplecov'
SimpleCov.start
SimpleCov.start do
add_filter '/spec/'
end
require 'bundler/setup'
require 'btcpay'