test/test_rocketio.rb in sinatra-rocketio-0.2.4 vs test/test_rocketio.rb in sinatra-rocketio-0.2.5
- old
+ new
@@ -1,7 +1,7 @@
require File.expand_path 'test_helper', File.dirname(__FILE__)
-class TestRocketIO < MiniTest::Unit::TestCase
+class TestRocketIO < MiniTest::Test
def test_websocket_to_comet
## websocket --> server --> comet
post_data = {:time => Time.now.to_s, :msg => 'hello!!', :to => nil}
res = nil