Skip to content

Commit

Permalink
fixed delegation test
Browse files Browse the repository at this point in the history
  • Loading branch information
stve committed Sep 26, 2011
1 parent e542cd3 commit 06c879b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/tweetstream_spec.rb
Expand Up @@ -22,7 +22,7 @@
it "should return the same results as a client" do
MultiJson.should_receive(:decode).and_return({})
@stream.should_receive(:each_item).and_yield(sample_tweets[0].to_json)
TweetStream.new.track('abc','def').should == TweetStream::Client.new.track('abc','def')
TweetStream.track('abc','def').should == TweetStream::Client.new.track('abc','def')
end
end

Expand Down

0 comments on commit 06c879b

Please sign in to comment.