rspec/rules/S2760/exceptions.adoc

4 lines
140 B
Plaintext
Raw Normal View History

2020-06-30 12:48:07 +02:00
== Exceptions
Since it is a common pattern to test a variable, reassign it if it fails the test, then re-test it, that pattern is ignored.