spec/unit/auth_spec.rb in ably-0.8.4 vs spec/unit/auth_spec.rb in ably-0.8.5
- old
+ new
@@ -6,10 +6,10 @@
let(:client_id) { nil }
let(:auth_options) { { key: 'appid.keyuid:keysecret', client_id: client_id } }
let(:token_params) { { } }
subject do
- Ably::Auth.new(client, auth_options, token_params)
+ Ably::Auth.new(client, token_params, auth_options)
end
describe 'client_id option' do
let(:client_id) { random_str.encode(encoding) }