spec/integration/draft06_spec.rb in em-websocket-0.3.1 vs spec/integration/draft06_spec.rb in em-websocket-0.3.2

- old
+ new

@@ -60,9 +60,10 @@ it "should accept a single-frame text message (masked)" do EM.run do start_server { |server| server.onmessage { |msg| msg.should == 'Hello' + msg.encoding.should == Encoding.find("UTF-8") EM.stop } server.onerror { failed }