test/test_settings.rb in sinatra-rocketio-0.1.2 vs test/test_settings.rb in sinatra-rocketio-0.2.0
- old
+ new
@@ -1,16 +1,8 @@
require File.expand_path 'test_helper', File.dirname(__FILE__)
class TestSettingsIO < MiniTest::Unit::TestCase
- def setup
- App.start
- end
-
- def teardown
- App.stop
- end
-
def test_settings
res = JSON.parse HTTParty.get("#{App.url}/rocketio/settings").body
assert App.websocketio_url == res['websocket']
assert App.cometio_url == res['comet']
end