提交 30735ab7 编写于 作者: J James Mead

Make Mocha setup explcitly Minitest-specific

This has been possible since Mocha v1.0 and makes it clear that we want
Mocha to integrate with Minitest, not Test::Unit.
上级 364756c1
......@@ -4,7 +4,7 @@
require "active_support/testing/autorun"
require "puma"
require "mocha/setup"
require "mocha/minitest"
require "rack/mock"
begin
......
......@@ -184,4 +184,4 @@ def in_time_zone(zone)
end
end
require "mocha/setup" # FIXME: stop using mocha
require "mocha/minitest" # FIXME: stop using mocha
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册