spec/tweetstream_spec.rb in tweetstream-2.0.0 vs spec/tweetstream_spec.rb in tweetstream-2.0.1
- old
+ new
@@ -13,10 +13,11 @@
:each_item => true,
:on_error => true,
:on_max_reconnects => true,
:on_reconnect => true,
:connection_completed => true,
- :on_no_data_received => true
+ :on_no_data_received => true,
+ :on_unauthorized => true
)
EM.stub!(:run).and_yield
EM::Twitter::Client.stub!(:connect).and_return(@stream)
end