rspec/rules/S3415/howtofix.adoc

4 lines
208 B
Plaintext
Raw Permalink Normal View History

2023-10-19 15:48:44 +02:00
== How to fix it
You should provide the assertion methods with a hard-coded value as the expected value, while the actual value of the assertion should derive
from the portion of code that you want to test.