diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-10 14:00:37 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-10 14:00:37 -0700 |
commit | 72d329055508bddb4ee4852384446a319ebffb48 (patch) | |
tree | 1925594acc5e6e2dd36e4c620a1141149b2fbd14 /spec | |
parent | cf00da66924de0a4435391be70efe04ccfb12787 (diff) | |
download | rails-72d329055508bddb4ee4852384446a319ebffb48.tar.gz rails-72d329055508bddb4ee4852384446a319ebffb48.tar.bz2 rails-72d329055508bddb4ee4852384446a319ebffb48.zip |
lib is already in the load path
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a52fa257b7..e92129d723 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,3 @@ -dir = File.dirname(__FILE__) -$LOAD_PATH.unshift "#{dir}/../lib" - require 'rubygems' require 'spec' require 'pp' @@ -11,7 +8,7 @@ if adapter = ENV['ADAPTER'] require "support/connections/#{adapter}_connection.rb" end -Dir["#{dir}/{support,shared}/*.rb"].each do |file| +Dir["spec/{support,shared}/*.rb"].each do |file| require file end |