lib/submodules/ably-ruby/spec/acceptance/realtime/stats_spec.rb in ably-rest-0.8.3 vs lib/submodules/ably-ruby/spec/acceptance/realtime/stats_spec.rb in ably-rest-0.8.5

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' describe Ably::Realtime::Client, '#stats', :event_machine do vary_by_protocol do let(:client) do - Ably::Realtime::Client.new(key: api_key, environment: environment, protocol: protocol) + auto_close Ably::Realtime::Client.new(key: api_key, environment: environment, protocol: protocol) end describe 'fetching stats' do it 'returns a PaginatedResult' do client.stats do |stats|