Skip to content
Browse files

Move Rails module to abstract_unit to make test in isolation work

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent cfb3831 commit 824da60ae86ac26b5cbc7d6354d233205d2addc6 @spastorino spastorino committed with josevalim
Showing with 3 additions and 3 deletions.
  1. +3 −0 actionpack/test/abstract_unit.rb
  2. +0 −3 actionpack/test/controller/base_test.rb
View
3 actionpack/test/abstract_unit.rb
@@ -38,6 +38,9 @@
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.
View
3 actionpack/test/controller/base_test.rb
@@ -2,9 +2,6 @@
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

0 comments on commit 824da60

Please sign in to comment.
Something went wrong with that request. Please try again.