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

- 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(api_key: api_key, environment: environment, protocol: protocol) + Ably::Realtime::Client.new(key: api_key, environment: environment, protocol: protocol) end describe 'fetching stats' do it 'should return a PaginatedResource' do client.stats do |stats|