spec/slack/real_time/client_spec.rb in slack-ruby-client-0.7.9 vs spec/slack/real_time/client_spec.rb in slack-ruby-client-0.8.0
- old
+ new
@@ -204,10 +204,10 @@
it 'creates a connection with custom ping' do
expect(Slack::RealTime::Concurrency::Mock::WebSocket).to receive(:new).with(url, nil, ping: 15).and_return(ws)
client.start!
end
it 'sets start_options' do
- expect(client.start_options).to eq({})
+ expect(client.start_options).to eq(request: { timeout: 180 })
end
end
end
context 'proxy' do
before do