lib/submodules/ably-ruby/spec/acceptance/rest/client_spec.rb in ably-rest-1.1.8 vs lib/submodules/ably-ruby/spec/acceptance/rest/client_spec.rb in ably-rest-1.2.0
- old
+ new
@@ -1095,11 +1095,11 @@
end
it 'sends a protocol version and lib version header (#G4, #RSC7a, #RSC7b)' do
client.channels.get('foo').publish("event")
expect(publish_message_stub).to have_been_requested
- expect(Ably::PROTOCOL_VERSION).to eql('1.1')
+ expect(Ably::PROTOCOL_VERSION).to eql('1.2')
end
end
end
end
@@ -1229,10 +1229,10 @@
}.to raise_error(Ably::Exceptions::MaxFrameSizeExceeded)
end
end
end
- context 'request_id generation' do
+ context 'request_id generation (#RSC7c)' do
context 'Timeout error' do
context 'with option add_request_ids: true and no fallback hosts', :webmock, :prevent_log_stubbing do
let(:custom_logger_object) { TestLogger.new }
let(:client_options) { default_options.merge(key: api_key, logger: custom_logger_object, add_request_ids: true, fallback_hosts: []) }