spec/frame/incoming_03_spec.rb in websocket-1.2.2 vs spec/frame/incoming_03_spec.rb in websocket-1.2.3
- old
+ new
@@ -53,11 +53,11 @@
end
context 'should properly decode text frame in between of continuation' do
let(:encoded_text) { "\x84\x03Hel\x03\x03abc\x00\x02lo" }
let(:frame_type) { [:pong, :text] }
- let(:decoded_text) { ['abc', 'Hello'] }
+ let(:decoded_text) { %w(abc Hello) }
it_should_behave_like 'valid_incoming_frame'
end
context 'should not return unfinished more frame' do
@@ -112,7 +112,6 @@
let(:decoded_text) { nil }
let(:error) { WebSocket::Error::Frame::UnexpectedContinuationFrame }
it_should_behave_like 'valid_incoming_frame'
end
-
end