We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d008cf commit ca62d63Copy full SHA for ca62d63
1 file changed
spec/sse/event_source/client_spec.rb
@@ -65,7 +65,8 @@
65
expect(connected).to eq(true)
66
expect(sse_client.connected?).to eq(true)
67
expect(push_status_queue.pop(true)).to eq(SplitIoClient::Constants::PUSH_CONNECTED)
68
- expect(a_request(:get, 'https://sdk.split.io/api/splitChanges?since=-1')).to have_been_made.times(1)
+ sleep 1
69
+ expect(a_request(:get, 'https://sdk.split.io/api/splitChanges?since=-1').with(headers: { 'Authorization' => 'Bearer client-spec-key' })).to have_been_made.times(1)
70
71
sse_client.close
72
0 commit comments