Sha256: b7e77dc67c589ede05b21a0d654e0010a8060c7b106e5c890ca66a51519dcbe2

Contents?: true

Size: 522 Bytes

Versions: 2

Compression:

Stored size: 522 Bytes

Contents

require 'helper'

class TestActivityFeed < Test::Unit::TestCase
  def setup
    @client = Whatser::Client.new(:oauth_token => '1234')
    @user_id = 1
  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_global_feed
    assert @client.feeds.global( :page => 1, :per_page => 10 ).is_a?(Whatser::Response)
  end  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whatser-0.3.0 test/test_activity_feed.rb
whatser-0.2.0 test/test_activity_feed.rb