lib/submodules/ably-ruby/spec/acceptance/realtime/time_spec.rb in ably-rest-0.7.3 vs lib/submodules/ably-ruby/spec/acceptance/realtime/time_spec.rb in ably-rest-0.7.5

- old
+ new

@@ -14,12 +14,12 @@ stop_reactor end end end - it 'should return a deferrable object' do + it 'returns a SafeDeferrable that catches exceptions in callbacks and logs them' do run_reactor do - expect(client.time).to be_a(EventMachine::Deferrable) + expect(client.time).to be_a(Ably::Util::SafeDeferrable) stop_reactor end end end end