spec/acceptance/realtime/stats_spec.rb in ably-0.7.5 vs spec/acceptance/realtime/stats_spec.rb in ably-0.7.6

- 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|