diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-06-27 18:53:06 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-28 01:26:07 +0200 |
commit | 824da60ae86ac26b5cbc7d6354d233205d2addc6 (patch) | |
tree | 8c2ba682e713472ba2657ecbc41e82b8f0810a67 | |
parent | cfb38319bcc96b39d75133925c9f5095178067d0 (diff) | |
download | rails-824da60ae86ac26b5cbc7d6354d233205d2addc6.tar.gz rails-824da60ae86ac26b5cbc7d6354d233205d2addc6.tar.bz2 rails-824da60ae86ac26b5cbc7d6354d233205d2addc6.zip |
Move Rails module to abstract_unit to make test in isolation work
Signed-off-by: José Valim <jose.valim@gmail.com>
-rw-r--r-- | actionpack/test/abstract_unit.rb | 3 | ||||
-rw-r--r-- | actionpack/test/controller/base_test.rb | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index 2640e96453..3241b3d118 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -38,6 +38,9 @@ end require 'pp' # require 'pp' early to prevent hidden_methods from not picking up the pretty-print methods until too late +module Rails +end + ActiveSupport::Dependencies.hook! # Show backtraces for deprecated behavior for quicker cleanup. diff --git a/actionpack/test/controller/base_test.rb b/actionpack/test/controller/base_test.rb index 4f58b5d968..ae270b751e 100644 --- a/actionpack/test/controller/base_test.rb +++ b/actionpack/test/controller/base_test.rb @@ -2,9 +2,6 @@ require 'abstract_unit' require 'logger' require 'pp' # require 'pp' early to prevent hidden_methods from not picking up the pretty-print methods until too late -module Rails -end - # Provide some controller to run the tests on. module Submodule class ContainedEmptyController < ActionController::Base |