spec/tweetstream/daemon_spec.rb in tweetstream-2.5.0 vs spec/tweetstream/daemon_spec.rb in tweetstream-2.6.0
- old
+ new
@@ -20,10 +20,10 @@
end
describe "#start" do
it "starts the daemon" do
client = TweetStream::Daemon.new
- Daemons.should_receive(:run_proc).once
+ expect(Daemons).to receive(:run_proc).once
client.track('intridea')
end
end
end