From 25d14e714e10e24bd01195920e56f34283dd72f4 Mon Sep 17 00:00:00 2001 From: Joe Van Dyk Date: Sat, 18 May 2019 20:53:42 -0700 Subject: [PATCH] Clarifies Readme about exception handling Fixes https://github.com/collectiveidea/interactor/issues/166 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6de00f2..62b964a 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ context.success? # => false Normally, however, these exceptions are not seen. In the recommended usage, the controller invokes the interactor using the class method `call`, then checks the `success?` method of the context. -This works because the `call` class method swallows exceptions. When unit testing an interactor, if calling custom business logic methods directly and bypassing `call`, be aware that `fail!` will generate such exceptions. +This works because the `call` class method swallows these exceptions. When unit testing an interactor, if calling custom business logic methods directly and bypassing `call`, be aware that `fail!` will generate such exceptions. See *Interactors in the Controller*, below, for the recommended usage of `call` and `success?`.