btcpay/spec/btcpay_spec.rb

12 lines
286 B
Ruby
Raw Normal View History

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
expect(BtcPay::VERSION).to eq('0.1.2')
2020-07-15 19:36:16 -06:00
end
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) }
end
2020-07-15 19:36:16 -06:00
end