test/test_helper.rb in resque-aps-0.9.15 vs test/test_helper.rb in resque-aps-0.9.17
- old
+ new
@@ -1,18 +1,20 @@
# Pretty much copied this file from the resque test_helper since we want
# to do all the same stuff
dir = File.dirname(File.expand_path(__FILE__))
+$LOAD_PATH.unshift dir + '/../lib'
+$: << (File.dirname(__FILE__) + '/../lib')
require 'rubygems'
require 'test/unit'
require 'mocha'
require 'resque'
require 'ruby-debug'
-require File.join(dir, '../lib/resque_aps')
-$LOAD_PATH.unshift File.dirname(File.expand_path(__FILE__)) + '/../lib'
+require 'resque_aps'
+ROOT_CA = '/etc/ssl/certs'
#
# make sure we can run redis
#