spec/acceptance/realtime/connection_spec.rb in ably-1.1.8 vs spec/acceptance/realtime/connection_spec.rb in ably-1.2.0
- old
+ new
@@ -2081,10 +2081,10 @@
context 'version params' do
it 'sends the protocol version param v (#G4, #RTN2f)' do
expect(EventMachine).to receive(:connect) do |host, port, transport, object, url|
uri = URI.parse(url)
- expect(CGI::parse(uri.query)['v'][0]).to eql('1.1')
+ expect(CGI::parse(uri.query)['v'][0]).to eql('1.2')
stop_reactor
end
client
end