lib/submodules/ably-ruby/spec/acceptance/realtime/stats_spec.rb in ably-rest-0.8.1 vs lib/submodules/ably-ruby/spec/acceptance/realtime/stats_spec.rb in ably-rest-0.8.2

- old
+ new

@@ -5,12 +5,12 @@ let(:client) do Ably::Realtime::Client.new(key: api_key, environment: environment, protocol: protocol) end describe 'fetching stats' do - it 'should return a PaginatedResource' do + it 'should return a PaginatedResult' do client.stats do |stats| - expect(stats).to be_a(Ably::Models::PaginatedResource) + expect(stats).to be_a(Ably::Models::PaginatedResult) stop_reactor end end it 'returns a SafeDeferrable that catches exceptions in callbacks and logs them' do