Tests Without Assertions Warning in Rails 7.2 Discussion
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.
I really enjoyed this lesson! Especially the deep dive into the source code.
Thanks for creating great content and for your curiosity in exploring how Rails works!