docs/modules/ROOT/pages/cops_minitest.adoc in rubocop-minitest-0.15.1 vs docs/modules/ROOT/pages/cops_minitest.adoc in rubocop-minitest-0.15.2
- old
+ new
@@ -37,17 +37,17 @@
|===
| Enabled by default | Safe | Supports autocorrection | Version Added | Version Changed
| Enabled
| Yes
-| Yes (Unsafe)
+| Yes
| 0.5
| 0.11
|===
This cop enforces the test to use `assert_empty`
-instead of using `assert_equal([], object)`.
+instead of using `assert_equal([], object)` or `assert_equal({}, object)`.
=== Examples
[source,ruby]
----
@@ -456,10 +456,12 @@
|===
This cop tries to detect when a user accidentally used
`assert` when they meant to use `assert_equal`.
-It is marked as unsafe because it is not possible to determine
+=== Safety
+
+This cop is unsafe because it is not possible to determine
whether the second argument of `assert` is a message or not.
=== Examples
[source,ruby]