spec/support/all_client_drafts.rb in websocket-1.2.2 vs spec/support/all_client_drafts.rb in websocket-1.2.3
- old
+ new
@@ -41,10 +41,10 @@
expect(handshake.port).to eql(123)
end
it 'should return valid headers' do
@request_params = { headers: { 'aaa' => 'bbb' } }
- expect(handshake.headers).to eql({ 'aaa' => 'bbb' })
+ expect(handshake.headers).to eql('aaa' => 'bbb')
end
it 'should parse uri' do
@request_params = { uri: 'ws://test.example.org:301/test_path?query=true' }
expect(handshake.host).to eql('test.example.org')