mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Update naming from partial to target
This commit is contained in:
parent
53f7c94e8a
commit
5692a77a1b
2 changed files with 3 additions and 2 deletions
|
@ -10,8 +10,8 @@ module Spectator::Mocks
|
|||
Harness.current.mocks.expect(T, stub)
|
||||
value = Value.new(stub.name, stub.to_s)
|
||||
matcher = Matchers::ReceiveTypeMatcher.new(value, stub.arguments?)
|
||||
partial = Expectations::ExpectationPartial.new(actual, @location)
|
||||
partial.to_eventually(matcher)
|
||||
target = Expectation::Target.new(actual, @location)
|
||||
target.to_eventually(matcher)
|
||||
end
|
||||
|
||||
def to(stubs : Enumerable(MethodStub)) : Nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue