spec/buckaroo-ideal/order_spec.rb in buckaroo-ideal-0.0.1 vs spec/buckaroo-ideal/order_spec.rb in buckaroo-ideal-0.0.2
- old
+ new
@@ -3,18 +3,18 @@
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
+ :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'