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:
parent
56c6d520a0
commit
b72c56681e
Notes:
git
2020-05-08 07:39:34 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue