1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Use newer module Minitest name

https://github.com/rubygems/rubygems/commit/2890622479
This commit is contained in:
David Rodríguez 2020-03-27 10:22:21 +01:00 committed by Hiroshi SHIBATA
parent 56c6d520a0
commit b72c56681e
Notes: git 2020-05-08 07:39:34 +09:00

View file

@ -26,7 +26,7 @@ class TestGemCommandsOpenCommand < Gem::TestCase
gem 'foo', '1.0.0' gem 'foo', '1.0.0'
spec = gem 'foo', '1.0.1' spec = gem 'foo', '1.0.1'
mock = MiniTest::Mock.new mock = Minitest::Mock.new
mock.expect(:call, true, [spec.full_gem_path]) mock.expect(:call, true, [spec.full_gem_path])
Dir.stub(:chdir, mock) do Dir.stub(:chdir, mock) do