提交 824da60a 编写于 作者: S Santiago Pastorino 提交者: José Valim

Move Rails module to abstract_unit to make test in isolation work

Signed-off-by: NJosé Valim <jose.valim@gmail.com>
上级 cfb38319
......@@ -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.
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册