test/test_cometio.rb in sinatra-cometio-0.5.9 vs test/test_cometio.rb in sinatra-cometio-0.6.0
- old
+ new
@@ -1,16 +1,8 @@
require File.expand_path 'test_helper', File.dirname(__FILE__)
class TestCometio < MiniTest::Test
- def setup
- App.start
- end
-
- def teardown
- App.stop
- end
-
def test_simple
client = Sinatra::CometIO::Client.new(App.cometio_url).connect
post_data = {:time => Time.now.to_s, :msg => 'hello!!'}
res = nil
client.on :broadcast do |data|