spec/acceptance/realtime/connection_spec.rb in ably-1.0.1 vs spec/acceptance/realtime/connection_spec.rb in ably-1.0.2

- old
+ new

@@ -978,10 +978,11 @@ end end context 'transport-level heartbeats are supported in the websocket transport' do it 'provides the heartbeats argument in the websocket connection params (#RTN23b)' do + skip 'Native heartbeats not yet supported in the WS driver https://github.com/ably/ably-ruby/issues/116' expect(EventMachine).to receive(:connect) do |host, port, transport, object, url| uri = URI.parse(url) expect(CGI::parse(uri.query)['heartbeats'][0]).to eql('false') stop_reactor end @@ -1005,9 +1006,10 @@ context 'with websocket heartbeats disabled (undocumented)' do let(:client_options) { default_options.merge(websocket_heartbeats_disabled: true) } it 'does not provide the heartbeats argument in the websocket connection params (#RTN23b)' do + skip 'Native heartbeats not yet supported in the WS driver https://github.com/ably/ably-ruby/issues/116' expect(EventMachine).to receive(:connect) do |host, port, transport, object, url| uri = URI.parse(url) expect(CGI::parse(uri.query)['heartbeats'][0]).to be_nil stop_reactor end