Sha256: 49d2037ea5d57f148f303d3ce5d18d0c1ef0a515590bf4ddeda65e73d602076a

Contents?: true

Size: 471 Bytes

Versions: 5

Compression:

Stored size: 471 Bytes

Contents

require 'spec_helper'

describe 'WirecardGiropay' do
  describe '.gateway_url' do
    it 'returns the live system url' do
      expect(WirecardGiropay.gateway_url).to eq 'https://c3.wirecard.com/secure/ssl-gateway'
    end
  end

  context 'when running in sandbox mode' do
    before { WirecardGiropay.sandbox! }

    it 'returns the live system url' do
      expect(WirecardGiropay.gateway_url).to eq 'https://c3-test.wirecard.com/secure/ssl-gateway'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wirecard_giropay-1.0.2 spec/lib/wirecard_giropay_spec.rb
wirecard_giropay-1.0.1 spec/lib/wirecard_giropay_spec.rb
wirecard_giropay-1.0.0 spec/lib/wirecard_giropay_spec.rb
wirecard_giropay-0.0.2 spec/lib/wirecard_giropay_spec.rb
wirecard_giropay-0.0.1 spec/lib/wirecard_giropay_spec.rb