spec/buckaroo-ideal/config_spec.rb in buckaroo-ideal-0.0.1 vs spec/buckaroo-ideal/config_spec.rb in buckaroo-ideal-0.0.2
- old
+ new
@@ -1,25 +1,25 @@
require 'spec_helper'
describe Buckaroo::Ideal::Config do
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
subject { Buckaroo::Ideal::Config }
it 'has a gateway_url' do
- subject.gateway_url.should == 'https://payment.buckaroo.nl/gateway/payment.asp'
+ subject.gateway_url.should == 'https://payment.buckaroo.nl/gateway/ideal_payment.asp'
end
it 'has a merchant_key' do
subject.merchant_key.should == 'merchant_key'
end