diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-11 09:01:33 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-11 09:01:52 -0800 |
commit | 8afcd33246868af0b3f1888b38ae72a1f489f77e (patch) | |
tree | c121c1f8a06a9688b6afc966292947f33ad4a5bc /railties/lib/generators/rails | |
parent | 523002fe16366be69e830fd80bbd3d743d66fa16 (diff) | |
download | rails-8afcd33246868af0b3f1888b38ae72a1f489f77e.tar.gz rails-8afcd33246868af0b3f1888b38ae72a1f489f77e.tar.bz2 rails-8afcd33246868af0b3f1888b38ae72a1f489f77e.zip |
Resolve test/unit load ordering by removing backtrace filter from boot initializers
Diffstat (limited to 'railties/lib/generators/rails')
-rw-r--r-- | railties/lib/generators/rails/app/templates/test/test_helper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/lib/generators/rails/app/templates/test/test_helper.rb b/railties/lib/generators/rails/app/templates/test/test_helper.rb index 005149eba0..8bf1192ffe 100644 --- a/railties/lib/generators/rails/app/templates/test/test_helper.rb +++ b/railties/lib/generators/rails/app/templates/test/test_helper.rb @@ -1,6 +1,5 @@ ENV["RAILS_ENV"] = "test" -require 'test/unit' -require File.expand_path(File.dirname(__FILE__) + "/../config/environment") +require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' class ActiveSupport::TestCase |