spec/unit/masking_spec.rb in em-websocket-0.4.0 vs spec/unit/masking_spec.rb in em-websocket-0.5.0

- old
+ new

@@ -21,7 +21,9 @@ it "should allow switching masking on and off" do t = EM::WebSocket::MaskedString.new("\x02\x00\x00\x00\x03") t.getbyte(4).should == 0x03 t.read_mask t.getbyte(4).should == 0x01 + t.unset_mask + t.getbyte(4).should == 0x03 end end