Sha256: 328f3720e36943e699abe82008ac660d080f8f31445ea4a0eab01fd50411e5ee
Contents?: true
Size: 567 Bytes
Versions: 19
Compression:
Stored size: 567 Bytes
Contents
# frozen_string_literal: true require_relative 'spec_helper.rb' describe 'Skyscanner specifications' do before do VCR.insert_cassette CASSETTE_FILE_2, record: :new_episodes end after do VCR.eject_cassette end it 'should get routes suggested by Skyscanner' do route_meta = { market: 'TW', currency: 'TWD', locale: 'zh-TW', origin: 'TW', destination: 'US', outbound: 'anytime', inbound: 'anytime' } route = Skyscanner::Route.find(route_meta) flights = route.flights flights.length.must_be :>, 0 end end
Version data entries
19 entries across 19 versions & 1 rubygems