spec/unit/auth_spec.rb in ably-0.7.5 vs spec/unit/auth_spec.rb in ably-0.7.6
- old
+ new
@@ -2,10 +2,10 @@
require 'shared/protocol_msgbus_behaviour'
describe Ably::Auth do
let(:client) { double('client').as_null_object }
let(:client_id) { nil }
- let(:options) { { api_key: 'appid.keyuid:keysecret', client_id: client_id } }
+ let(:options) { { key: 'appid.keyuid:keysecret', client_id: client_id } }
subject do
Ably::Auth.new(client, options)
end