Sha256: adc79b3d6c7ec6b1b57dad6323b346336d302a6050b3be18e572b0e5200878ff

Contents?: true

Size: 362 Bytes

Versions: 25

Compression:

Stored size: 362 Bytes

Contents

require 'spec_helper'
require 'quick_travel/checkout'

describe QuickTravel::Checkout do
  subject(:token) {
    VCR.use_cassette 'checkout_client_token' do
      QuickTravel::Checkout.client_token(gateway: 'braintree')
    end
  }

  specify do
    expect(token.keys).to eq [:client_token]
    expect(token[:client_token]).to match /^[0-9A-Za-z\=]+$/
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
quicktravel_client-4.7.0 spec/checkout_spec.rb
quicktravel_client-4.6.0 spec/checkout_spec.rb
quicktravel_client-4.5.0 spec/checkout_spec.rb
quicktravel_client-4.4.0 spec/checkout_spec.rb
quicktravel_client-4.3.2 spec/checkout_spec.rb
quicktravel_client-4.3.1 spec/checkout_spec.rb
quicktravel_client-4.3.0 spec/checkout_spec.rb
quicktravel_client-4.2.0 spec/checkout_spec.rb
quicktravel_client-4.1.0 spec/checkout_spec.rb
quicktravel_client-4.0.0 spec/checkout_spec.rb
quicktravel_client-3.9.0 spec/checkout_spec.rb
quicktravel_client-3.8.1 spec/checkout_spec.rb
quicktravel_client-3.6.1 spec/checkout_spec.rb
quicktravel_client-3.6.0 spec/checkout_spec.rb
quicktravel_client-3.5.0 spec/checkout_spec.rb
quicktravel_client-3.4.0 spec/checkout_spec.rb
quicktravel_client-3.3.0 spec/checkout_spec.rb
quicktravel_client-3.2.0 spec/checkout_spec.rb
quicktravel_client-3.1.0 spec/checkout_spec.rb
quicktravel_client-3.0.0 spec/checkout_spec.rb