Sha256: ac04dbb988556fba6e28de770f5df8c5afd6fd34557cddbc0745ebbdcf59be7e
Contents?: true
Size: 389 Bytes
Versions: 7
Compression:
Stored size: 389 Bytes
Contents
require "spec_helper" describe Wego::Location do it "retrive locations" do location_name = "sydney" stub_get_location_api(q: location_name, lang: "en") location = Wego::Location.find(location_name, lang: "en") expect(location.count).to eq(3) expect(location.query).to eq(location_name) expect(location.locations.first.country_name).to eq("Australia") end end
Version data entries
7 entries across 7 versions & 1 rubygems