test/test_helper.rb in gemerald_beanstalk-0.0.1 vs test/test_helper.rb in gemerald_beanstalk-0.1.0
- old
+ new
@@ -1,8 +1,16 @@
require 'coveralls'
Coveralls.wear!
+require 'test/unit'
+require 'mocha/setup'
+require 'minitest/autorun'
+require 'minitest/should'
+
lib = File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'gemerald_beanstalk'
-$server ||= GemeraldBeanstalk::Server.start(ENV['BIND_ADDRESS'], ENV['PORT']).first
+$server ||= GemeraldBeanstalk::Server.new(ENV['BIND_ADDRESS'], ENV['PORT'])
+
+class GemeraldBeanstalkTest < MiniTest::Should::TestCase
+end