Permalink
Browse files

Remove $LOAD_PATH manipulation. Bundler handles that. Searchlogic req…

…uires active_record.
  • Loading branch information...
1 parent 6295314 commit 83db7666dbb50786b1a3921b332addd2832307db @johndouthat committed Mar 22, 2012
Showing with 2 additions and 4 deletions.
  1. +1 −0 lib/searchlogic.rb
  2. +1 −4 spec/spec_helper.rb
View
@@ -1,3 +1,4 @@
+require 'active_record'
require "searchlogic/version"
require "searchlogic/core_ext/proc"
require "searchlogic/core_ext/object"
View
@@ -1,5 +1,5 @@
Bundler.setup
-require 'active_record'
+require 'searchlogic'
ENV['TZ'] = 'UTC'
Time.zone = 'Eastern Time (US & Canada)'
@@ -74,9 +74,6 @@
end
end
-$LOAD_PATH.unshift(File.dirname(__FILE__))
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-require 'searchlogic'
Spec::Runner.configure do |config|
config.before(:each) do

0 comments on commit 83db766

Please sign in to comment.