Sha256: 90758d1e64bc0576574e078151747cc3f62020ee617260b1b976a5741600bb11
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
require 'spec_helper' describe Buckaroo::Ideal::Order do let(:order) { Buckaroo::Ideal::Order.new } before do Buckaroo::Ideal::Config.configure( :merchant_key => 'merchant_key', :secret_key => 'secret_key', :test_mode => true, :success_url => 'http://example.com/transaction/success', :reject_url => 'http://example.com/transaction/reject', :error_url => 'http://example.com/transaction/error', :return_method => 'GET', :style => 'POPUP', :autoclose_popup => true ) end it 'has a default currency' do order.currency.should == 'EUR' end it 'does not have a default amount' do order.amount.should be_nil end it 'does not have a default bank' do order.bank.should be_nil end it 'does not have a default description' do order.description.should be_nil end it 'does not have a default reference' do order.reference.should be_nil end it 'does not have a default invoice_number' do order.invoice_number.should be_nil end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
buckaroo-ideal-0.0.2 | spec/buckaroo-ideal/order_spec.rb |