Sha256: a14532b9ad7662b01608bf065eb20a1bb1098ce71556e70b4a6430f48a959136
Contents?: true
Size: 556 Bytes
Versions: 2
Compression:
Stored size: 556 Bytes
Contents
# encoding: utf-8 require "spec_helper" describe Sqoot::Offer do let(:client) { Sqoot::Client.new } it "should return mash list of offers without passing any parameters", :vcr do client.offers.equal? Hashie::Mash end it "should return an array of offers", :vcr do client.offers.offers.equal? Array end it "should return a list of offers given a location parameter", :vcr do offers_on_location = client.offers(:location => '12345') offers_on_location.equal? Hashie::Mash offers_on_location.offers.equal? Array end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sqoot-1.0.0 | spec/sqoot/offer_spec.rb |
sqoot-0.0.1 | spec/sqoot/offer_spec.rb |