spec/acceptance/rest/channels_spec.rb in ably-0.7.5 vs spec/acceptance/rest/channels_spec.rb in ably-0.7.6
- old
+ new
@@ -13,10 +13,10 @@
end
end
vary_by_protocol do
let(:client) do
- Ably::Rest::Client.new(api_key: api_key, environment: environment, protocol: protocol)
+ Ably::Rest::Client.new(key: api_key, environment: environment, protocol: protocol)
end
let(:channel_name) { random_str }
let(:options) { { key: 'value' } }
describe 'using shortcut method #channel on the client object' do