spec/acceptance/realtime/stats_spec.rb in ably-0.8.4 vs spec/acceptance/realtime/stats_spec.rb in ably-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|