diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-09-14 03:21:24 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-09-14 03:21:24 -0700 |
commit | 7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d (patch) | |
tree | 2d7c45da9b4456689115b64e63511db68a931d84 /Rakefile | |
parent | bad67f8a4a480a41adb9541ddc11d1dce08990f4 (diff) | |
download | rails-7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d.tar.gz rails-7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d.tar.bz2 rails-7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d.zip |
Use load path rather than relative path for spec_helper requires. Also fixes specs on Ruby 1.9 since . is no longer in the load path.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -21,6 +21,7 @@ namespace :spec do desc "Run specs with the #{adapter} database adapter" Spec::Rake::SpecTask.new(adapter) do |t| t.libs << "#{File.dirname(__FILE__)}/vendor/rails/activerecord/lib" + t.libs << "#{File.dirname(__FILE__)}/spec" t.spec_files = ["spec/connections/#{adapter}_connection.rb"] + ["spec/schemas/#{adapter}_schema.rb"] + |