test/test_activity_feed.rb in whatser-0.3.0 vs test/test_activity_feed.rb in whatser-0.3.1
- old
+ new
@@ -2,17 +2,22 @@
class TestActivityFeed < Test::Unit::TestCase
def setup
@client = Whatser::Client.new(:oauth_token => '1234')
@user_id = 1
+ @spot_id = 101
end
def test_my_feed
assert @client.feeds.mine( :page => 1, :per_page => 10 ).is_a?(Whatser::Response)
end
def test_user_feed
assert @client.feeds.user( @user_id, :page => 1, :per_page => 10 ).is_a?(Whatser::Response)
+ end
+
+ def test_spot_feed
+ assert @client.feeds.spot( @spot_id, :page => 1, :per_page => 10 ).is_a?(Whatser::Response)
end
def test_global_feed
assert @client.feeds.global( :page => 1, :per_page => 10 ).is_a?(Whatser::Response)
end
\ No newline at end of file