Sha256: 47d8bae68b0840fb32af9b5c4211a158abef77a1c5faa312ff1c0ed7e28f94e9
Contents?: true
Size: 559 Bytes
Versions: 18
Compression:
Stored size: 559 Bytes
Contents
describe Moneta::Api::Types::ConfirmTransactionBatchRequestType do describe '.add_transaction' do let(:request) { described_class.new } it 'should add transaction' do transaction = Moneta::Api::Types::ConfirmTransactionRequestType.new request.add_transaction(transaction) expect(request.transaction).to include transaction end it 'should not add with wrong type' do transaction = Moneta::Api::Types::Entity.new expect { request.add_transaction(transaction) }.to raise_exception TypeError end end end
Version data entries
18 entries across 18 versions & 1 rubygems