spec/acceptance/rest/encoders_spec.rb in ably-0.7.5 vs spec/acceptance/rest/encoders_spec.rb in ably-0.7.6

- old
+ new

@@ -1,10 +1,10 @@ # encoding: utf-8 require 'spec_helper' require 'base64' describe Ably::Models::MessageEncoders do - let(:default_client_options) { { api_key: api_key, environment: environment } } + let(:default_client_options) { { key: api_key, environment: environment } } let(:client) { Ably::Rest::Client.new(default_client_options.merge(protocol: protocol)) } let(:channel_options) { {} } let(:channel) { client.channel('test', channel_options) } let(:response) { instance_double('Faraday::Response', status: 201) }