Tests Without Assertions Warning in Rails 7.2 Discussion
Discussion for
Tests Without Assertions Warning in Rails 7.2
I think another nifty trick is the pass
method. You can use this as an alternative to assert_nothing_raised
- just call it at the end of your test, and you're good2go.