Sha256: b39b14adc147c77be1925b8484eb66fa2ee72150de1de4d439a771d83490cae5

Contents?: true

Size: 516 Bytes

Versions: 22

Compression:

Stored size: 516 Bytes

Contents

require 'spec_helper'
require 'quick_travel/setting'

describe QuickTravel::Checkout do
  subject {
    VCR.use_cassette 'settings_basic' do
      QuickTravel::Setting.basic
    end
  }

  specify do
    expect(subject.vehicle_optional_fields).to eq %w(weight registration)
    expect(subject.default_passenger_type_id).to eq 1
    expect(subject.time_zone).to eq 'Australia/Adelaide'
    expect(subject.ob_num_pax_requiring_details).to eq 'none'
    expect(subject.person_titles).to eq %w(Mr Mrs Ms Miss)
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
quicktravel_client-3.1.0 spec/setting_spec.rb
quicktravel_client-3.0.0 spec/setting_spec.rb