提交 f7e91c72 编写于 作者: A Akira Matsuda

Lazily evaluate FileUpdateCheckerSharedTests when being included

To avoid "uninitialized constant ActiveSupport::Testing (NameError)"
上级 dd779c96
......@@ -3,6 +3,8 @@
require "fileutils"
module FileUpdateCheckerSharedTests
def self.included(kls)
kls.class_eval do
extend ActiveSupport::Testing::Declarative
include FileUtils
......@@ -293,4 +295,6 @@ def run(*args)
new_checker([])
end
end
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册