Sha256: 45fda48665118c47239c2e8ce7cd43b2039e71965494b72370a0923ca106aaa9
Contents?: true
Size: 688 Bytes
Versions: 1
Compression:
Stored size: 688 Bytes
Contents
require 'spec_helper' describe "stratify-gowalla" do use_vcr_cassette "gowalla" it "collects and stores data from Gowalla", :database => true do collector = Stratify::Gowalla::Collector.create!(:username => "jasonrudolph", :password => "secret") collector.run Stratify::Gowalla::Activity.where( :checkin_id => 27148218, :spot_name => "Caribou Coffee", :spot_city_state => "Raleigh, NC", :created_at => Time.parse("2011-01-22T17:57:34Z") ).should exist Stratify::Gowalla::Activity.where( :checkin_id => 26999668, :spot_name => "Starbucks", :created_at => Time.parse("2011-01-20T21:35:25Z") ).should exist end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stratify-gowalla-0.1.0 | spec/stratify-gowalla/integration_spec.rb |