зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Added comment for Minitest::Mock
https://github.com/rubygems/rubygems/commit/ae44b68d57
This commit is contained in:
Родитель
d33888bf96
Коммит
655727ee1b
|
@ -1557,6 +1557,7 @@ Also, a list:
|
|||
end if Gem::HAVE_OPENSSL
|
||||
end
|
||||
|
||||
# https://github.com/seattlerb/minitest/blob/master/lib/minitest/mock.rb#L192
|
||||
class Object
|
||||
def stub(name, val_or_callable, *block_args)
|
||||
new_name = "__minitest_stub__#{name}"
|
||||
|
|
Загрузка…
Ссылка в новой задаче