diff --git a/src/spectator/fail_result.cr b/src/spectator/fail_result.cr index 15d1f56..a0b01e0 100644 --- a/src/spectator/fail_result.cr +++ b/src/spectator/fail_result.cr @@ -17,12 +17,12 @@ module Spectator # Calls the `failure` method on *visitor*. def accept(visitor) - visitor.failure + visitor.fail end # Calls the `failure` method on *visitor*. def accept(visitor) - visitor.failure(yield self) + visitor.fail(yield self) end # Indicates whether the example passed.