Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make sure AR isolated tests set the environment variable

  • Loading branch information...
commit 377b15a22353bf60898738f00e94d22e63399c5f 1 parent 75fb26a
@tenderlove tenderlove authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  activerecord/Rakefile
View
3  activerecord/Rakefile
@@ -59,7 +59,7 @@ end
(Dir["test/cases/**/*_test.rb"].reject {
|x| x =~ /\/adapters\//
} + Dir["test/cases/adapters/#{adapter_short}/**/*_test.rb"]).all? do |file|
- sh(ruby, "-Itest", "-r#{File.expand_path('../', __FILE__)}/test/connections/#{adapter}", file)
+ sh(ruby, "-Itest", file)
end or raise "Failures"
end
@@ -73,6 +73,7 @@ end
# Make sure the adapter test evaluates the env setting task
task "test_#{adapter}" => "#{adapter}:env"
+ task "isolated_test_#{adapter}" => "#{adapter}:env"
end
rule '.sqlite3' do |t|
Please sign in to comment.
Something went wrong with that request. Please try again.