未验证 提交 8a2f4a21 编写于 作者: G Guillermo Iguaran 提交者: GitHub

Merge pull request #32486 from floehopper/mocha-updates

Mocha updates
......@@ -9,9 +9,7 @@ gemspec
# We need a newish Rake since Active Job sets its test tasks' descriptions.
gem "rake", ">= 11.1"
# This needs to be with require false to ensure correct loading order, as it has to
# be loaded after loading the test library.
gem "mocha", require: false
gem "mocha"
gem "capybara", ">= 2.15", "< 4.0"
......
......@@ -308,7 +308,7 @@ GEM
path_expander (~> 1.0)
minitest-server (1.0.5)
minitest (~> 5.0)
mocha (1.3.0)
mocha (1.5.0)
metaclass (~> 0.0.1)
mono_logger (1.1.0)
msgpack (1.2.4)
......
......@@ -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.
先完成此消息的编辑!
想要评论请 注册