docs/testing.md in action_policy-0.3.2 vs docs/testing.md in action_policy-0.3.3
- old
+ new
@@ -83,21 +83,21 @@
```
If test failed the exception message includes the result and [failure reasons](reasons) (if any):
```
-1) PostPolucy#show? when post is draft
+1) PostPolicy#show? when post is draft
Failure/Error: ...
Expected to fail but succeed:
<PostPolicy#show?: true (reasons: ...)>
```
If you have [debugging utils](debugging) installed the message also includes the _annotated_
source code of the policy rule:
```
-1) UserPolucy#manage? when post is draft
+1) UserPolicy#manage? when post is draft
Failure/Error: ...
Expected to fail but succeed:
<PostPolicy#show?: true (reasons: ...)>
↳ user.admin? #=> true