mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix no_args being passed incorrectly
This commit is contained in:
parent
d9bb8e33fe
commit
4d030fb85a
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ module Spectator::Mocks
|
|||
NilMethodStub.new(@name, @source, args)
|
||||
end
|
||||
|
||||
def with(args : Arguments)
|
||||
NilMethodStub.new(@name, @source, @args)
|
||||
end
|
||||
|
||||
def and_call_original
|
||||
OriginalMethodStub.new(@name, @source, @args)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue