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

- old
+ new

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