spec/websocket_spec.rb in em-websocket-0.0.6 vs spec/websocket_spec.rb in em-websocket-0.1.1
- old
+ new
@@ -1,13 +1,8 @@
require 'spec/helper'
describe EventMachine::WebSocket do
- def failed
- EventMachine.stop
- fail
- end
-
it "should automatically complete WebSocket handshake" do
EM.run do
MSG = "Hello World!"
EventMachine.add_timer(0.1) do
http = EventMachine::HttpRequest.new('ws://127.0.0.1:12345/').get :timeout => 0
\ No newline at end of file