2020-07-15 19:36:16 -06:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-07-18 11:47:59 -06:00
|
|
|
RSpec.describe BtcPay do
|
2020-07-15 19:36:16 -06:00
|
|
|
it 'has a version number' do
|
2020-11-21 14:51:14 -07:00
|
|
|
expect(BtcPay::VERSION).to eq('0.1.2')
|
2020-07-15 19:36:16 -06:00
|
|
|
end
|
2020-07-26 15:31:22 -06:00
|
|
|
|
|
|
|
describe '.new' do
|
2020-07-26 19:13:19 -06:00
|
|
|
it { expect(described_class.new(auth_token: '123', base_url: 'http://localhost')).to be_a(BtcPay::Client::Base) }
|
2020-07-26 15:31:22 -06:00
|
|
|
end
|
2020-07-15 19:36:16 -06:00
|
|
|
end
|