diff --git a/src/spectator/expectations/expectation_partial.cr b/src/spectator/expectations/expectation_partial.cr index e1cf903..696d54c 100644 --- a/src/spectator/expectations/expectation_partial.cr +++ b/src/spectator/expectations/expectation_partial.cr @@ -25,7 +25,6 @@ module Spectator::Expectations end def to(stub : Mocks::MethodStub) : Nil - Mocks::Allow.new(@actual.value).to(stub) value = TestValue.new(stub.name, stub.to_s) matcher = if (arguments = stub.arguments?) Matchers::ReceiveArgumentsMatcher.new(value, arguments)