Sha256: 97770b2de0ab46571ffe9d3b6708a073d41dd89da3cefc6fddfa40193e249f6b

Contents?: true

Size: 495 Bytes

Versions: 7

Compression:

Stored size: 495 Bytes

Contents

require 'helper'

class CheckinsTest < Test::Unit::TestCase

  context "When using the Gowalla API and working with checkins" do
    setup do
      @client = gowalla_test_client
    end

    should "fetch info for a checkin" do
      stub_get("https://pengwynn:0U812@api.gowalla.com/checkins/88", "checkin.json")
      checkin = @client.checkin_info(88)
      checkin.spot.name.should == 'Movie Tavern'
      checkin.message.should == 'There sending us Back-- to the Future!'
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gowalla-0.5.7 test/checkins_test.rb
gowalla-0.5.6 test/checkins_test.rb
gowalla-0.5.5 test/checkins_test.rb
gowalla-0.5.4 test/checkins_test.rb
gowalla-0.5.3 test/checkins_test.rb
gowalla-0.5.2 test/checkins_test.rb
gowalla-0.5.1 test/checkins_test.rb