Sha256: 827307276f87d5b431e5924b61d25d89db699739a0d5b185531b2205f43e3a55

Contents?: true

Size: 496 Bytes

Versions: 10

Compression:

Stored size: 496 Bytes

Contents

require 'test_helper'

class TwitterTest < Test::Unit::TestCase
  should "have firehose method for public timeline" do
    stub_get('http://twitter.com:80/statuses/public_timeline.json', 'firehose.json')
    hose = Twitter.firehose
    hose.size.should == 20
    first = hose.first
    first.text.should == '#torrents Ultimativer Flirt Guide - In 10 Minuten jede Frau erobern: Ultimativer Flirt Guide - In 10 Mi.. http://tinyurl.com/d3okh4'
    first.user.name.should == 'P2P Torrents'
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
cicloid-twitter-0.6.1 test/twitter_test.rb
cicloid-twitter-0.6.2 test/twitter_test.rb
jnunemaker-twitter-0.5.0 test/twitter_test.rb
jnunemaker-twitter-0.5.1 test/twitter_test.rb
jnunemaker-twitter-0.5.2 test/twitter_test.rb
jnunemaker-twitter-0.5.3 test/twitter_test.rb
jnunemaker-twitter-0.6.0 test/twitter_test.rb
jnunemaker-twitter-0.6.1 test/twitter_test.rb
jnunemaker-twitter-0.6.2 test/twitter_test.rb
rcarver-twitter-0.5.4 test/twitter_test.rb