spec/unit/daemon/signal_handler_spec.rb in rpush-2.0.0.beta1 vs spec/unit/daemon/signal_handler_spec.rb in rpush-2.0.0.beta2

- old
+ new

@@ -40,16 +40,16 @@ end end describe 'HUP' do before do - Rpush::Daemon::AppRunner.stub(:sync) + Rpush::Daemon::Synchronizer.stub(:sync) Rpush::Daemon::Feeder.stub(:wakeup) end - it 'syncs the AppRunner' do + it 'syncs' do with_handler_start_stop do - Rpush::Daemon::AppRunner.should_receive(:sync) + Rpush::Daemon::Synchronizer.should_receive(:sync) signal_handler('HUP') end end it 'wakes up the Feeder' do