Sha256: 68fe451962ed30fa66f3c4304b7bbf174895c5c3ec499983cc4a4e200adca074
Contents?: true
Size: 471 Bytes
Versions: 3
Compression:
Stored size: 471 Bytes
Contents
require 'spec_helper' describe BillingIntegration::Skrill::QuickCheckout do context "redirect_url" do let(:payment_method) { Factory :skrill_quick_checkout } let(:order) { Factory(:order) } it "should return url" do ActiveMerchant::Billing::Skrill.any_instance.should_receive(:setup_payment_session).and_return('123') payment_method.redirect_url(order).should == "#{ActiveMerchant::Billing::Skrill.new.service_url}?sid=123" end end end
Version data entries
3 entries across 3 versions & 1 rubygems