提交 70916f6a 编写于 作者: W wycats

Fixes test ordering bug (ht: evan)

上级 9795bf0e
......@@ -36,9 +36,12 @@ def setup
@old_behavior = ActiveSupport::Deprecation.behavior
@last_message = nil
ActiveSupport::Deprecation.behavior = Proc.new { |message, callback| @last_message = message }
@paths = TestController.view_paths
end
def teardown
TestController.view_paths = @paths
ActiveSupport::Deprecation.behavior = @old_behavior
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册