Sha256: 1dc115e7b2eb72d25cf710733698154af9e6171da3b449adef588ca57aea1fcf
Contents?: true
Size: 665 Bytes
Versions: 6
Compression:
Stored size: 665 Bytes
Contents
require 'helper' 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 end
Version data entries
6 entries across 6 versions & 1 rubygems