Sha256: 9fc9b354fd819bf8a44a0f76afc7665cc33921a061bcf5a6e5366ca1a4050cbe
Contents?: true
Size: 444 Bytes
Versions: 4
Compression:
Stored size: 444 Bytes
Contents
require "spec_helper" describe DiscountNetwork::Destination do describe ".list" do it "returns the similar destinations" do search_term = "bang" stub_destination_list_api(term: search_term) destinations = DiscountNetwork::Destination.list(term: search_term) destination = destinations.first expect(destination.value).to eq(835) expect(destination.label).to eq("Bangkok, Thailand") end end end
Version data entries
4 entries across 4 versions & 1 rubygems