Sha256: c83985a80ace74f7550057ba93c15be20dc64cbd90363f78291007a53b927e39

Contents?: true

Size: 429 Bytes

Versions: 4

Compression:

Stored size: 429 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper.rb'

describe Tweetable::TwitterStreamingClient, 'when streaming' do 
  before do 
    RedisSpecHelper.reset
    @twitter = Tweetable::TwitterStreamingClient.new('flippyhead', 'apple2406')
  end
  
  # it "should stream sample" do    
  #   message = nil
  #   @twitter.sample do |m|
  #     message = m
  #     break
  #   end
  # 
  #   message.should include(:text)
  # end  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tweetable-0.1.14 spec/twitter_streaming_client_spec.rb
tweetable-0.1.13 spec/twitter_streaming_client_spec.rb
tweetable-0.1.11 spec/twitter_streaming_client_spec.rb
tweetable-0.1.10 spec/twitter_streaming_client_spec.rb