spec/spec_helper.rb in ar-async-counter-cache-0.0.1 vs spec/spec_helper.rb in ar-async-counter-cache-0.0.2
- old
+ new
@@ -1,14 +1,11 @@
spec_dir = File.expand_path(File.dirname(__FILE__))
+$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')))
-$: << File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
-$: << spec_dir
-
require 'rubygems'
# Ensure resque for tests.
require 'resque'
require 'ar-async-counter-cache'
-
require 'spec'
require 'models'
cwd = Dir.getwd
Dir.chdir(spec_dir)