Sha256: 85398fca3be8120a1ddae036a57e86a7e6622f4d8fc115aed66aa1dd3c0d1911
Contents?: true
Size: 595 Bytes
Versions: 16
Compression:
Stored size: 595 Bytes
Contents
# frozen_string_literal: true require_relative 'spec_helper.rb' describe 'Geonames specifications' do before do VCR.insert_cassette CASSETTE_FILE_4, record: :new_episodes end after do VCR.eject_cassette end it 'should get geocoord from Geonames' do airport_info = Geonames::AirportInfo.find('Hsinchu') airport_info.lat.wont_be_nil airport_info.lng.wont_be_nil end it 'should get airport by geocoord from Geonames' do airport_info = Geonames::AirportInfo.find('Hsinchu') airports = airport_info.airports airports.length.must_be :>, 0 end end
Version data entries
16 entries across 16 versions & 1 rubygems