test/test_helper.rb in sinatra-websocketio-0.1.0 vs test/test_helper.rb in sinatra-websocketio-0.1.1
- old
+ new
@@ -1,10 +1,11 @@
require 'rubygems'
+require 'bundler/setup'
+$:.unshift File.expand_path '../lib', File.dirname(__FILE__)
require 'minitest/autorun'
require 'em-websocketio-client'
require File.expand_path 'app', File.dirname(__FILE__)
-$:.unshift File.expand_path '../lib', File.dirname(__FILE__)
['SIGHUP', 'SIGINT', 'SIGKILL', 'SIGTERM'].each do |sig|
Kernel.trap sig do
App.stop
end