lib/submodules/ably-ruby/spec/unit/rest/client_spec.rb in ably-rest-0.9.3 vs lib/submodules/ably-ruby/spec/unit/rest/client_spec.rb in ably-rest-1.0.0

- old
+ new

@@ -12,10 +12,10 @@ context 'initializer options' do context 'TLS' do context 'disabled' do let(:client_options) { { key: 'appid.keyuid:keysecret', tls: false } } - it 'fails for any operation with basic auth and attempting to send an API key over a non-secure connection' do + it 'fails for any operation with basic auth and attempting to send an API key over a non-secure connection (#RSA1)' do expect { subject.channel('a').publish('event', 'message') }.to raise_error(Ably::Exceptions::InsecureRequest) end end end