Sha256: 37266f77337349c892a6693fb3f1c54e6ca5ae1e3ddefb2f00d784737838e8c8
Contents?: true
Size: 602 Bytes
Versions: 21
Compression:
Stored size: 602 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'helper')) context "Getting an offer" do setup do run_with_rescue do response = CityGrid::API::Content::Offers.where( :what => "restaurant", :where => "98033", :format => :json ) response end end should("not be empty") { !topic.empty? } end context "Getting an offer by listing ID" do setup do run_with_rescue do CityGrid::API::Content::Offers.places( :listing_id => 628554020 ) end end should("not be empty") { !topic.empty? } end
Version data entries
21 entries across 21 versions & 1 rubygems