Sha256: 690a467dc669e1f987155918b5090c2831dbdb8797a4dbc43860ce10fbf1aa1c

Contents?: true

Size: 423 Bytes

Versions: 12

Compression:

Stored size: 423 Bytes

Contents

require 'spec_helper'

describe ActiveMerchant::Billing::Skrill do
  let(:url) { 'https://www.moneybookers.com/app/payment.pl' }

  context '.service_url' do
    it 'return its url' do
      expect(subject.service_url).to eq url
    end
  end

  context '.payment_url' do
    it 'prepend options to url' do
      options = { 'hi' => 'you' }
      expect(subject.payment_url(options)).to eq "#{url}?hi=you"
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
spree_gateway-3.3.0.rc2 spec/lib/active_merchant/billing_skrill_spec.rb
spree_gateway-3.3.0.rc1 spec/lib/active_merchant/billing_skrill_spec.rb
spree_gateway-3.2.0 spec/lib/active_merchant/billing_skrill_spec.rb
spree_gateway-3.2.0.beta spec/lib/active_merchant/billing_skrill_spec.rb
solidus_gateway-1.1.1 spec/lib/active_merchant/billing_skrill_spec.rb
solidus_gateway-1.1.0 spec/lib/active_merchant/billing_skrill_spec.rb
spree_gateway-3.1.0 spec/lib/active_merchant/billing_skrill_spec.rb
spree_gateway-3.0.0 spec/lib/active_merchant/billing_skrill_spec.rb
solidus_gateway-1.0.1 spec/lib/active_merchant/billing_skrill_spec.rb
solidus_gateway-0.9.0 spec/lib/active_merchant/billing_skrill_spec.rb
solidus_gateway-1.0.0 spec/lib/active_merchant/billing_skrill_spec.rb
spree_gateway-2.2.1 spec/lib/active_merchant/billing_skrill_spec.rb