spec/spec_helper.rb in asir_beanstalk-1.1.4 vs spec/spec_helper.rb in asir_beanstalk-1.1.5
- old
+ new
@@ -1,9 +1,14 @@
require 'rubygems'
$:.unshift File.expand_path('../../lib', __FILE__)
-gem 'asir'
+if p = ENV['ASIR_LIB_PATH']
+ $:.unshift File.expand_path(p)
+else
+ gem 'asir'
+end
require 'asir'
+require 'asir/transport/beanstalk'
module ASIR
module Test
class TestError < ::Exception; end
class TestObject