spec/unit/rest/client_spec.rb in ably-0.8.15 vs spec/unit/rest/client_spec.rb in ably-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