spec/spec_helper.rb in profit-0.1.1 vs spec/spec_helper.rb in profit-0.1.2
- old
+ new
@@ -1,6 +1,7 @@
require './lib/profit'
+require 'redis'
class TestServer
def self.server
@@server ||= Profit::Server.new
@@ -16,9 +17,8 @@
config.before(:suite) do
TestServer.server
end
config.after(:suite) do
- TestServer.server.shutdown!
TestServer.server_thread.join(1)
end
end