spec/unit/rest/client_spec.rb in ably-0.7.6 vs spec/unit/rest/client_spec.rb in ably-0.8.0
- old
+ new
@@ -38,10 +38,10 @@
end
end
end
context 'set to true' do
- context 'without an key or token_id' do
+ context 'without an key or token' do
let(:client_options) { { use_token_auth: true, key: true } }
it 'fails as an key is required to issue tokens' do
expect { subject.channel('a').publish('event', 'message') }.to raise_error(ArgumentError)
end