RSpec's `have_attributes` matcher
I’ve been working on rewriting some legacy feature tests that have been unmaintained for several years as system tests. One of the most convenient methods I have found while creating these tests is have_attributes. The RSpec documentation I linked to above is a great overview of the matcher. I have found that it’s useful to matching the result of a...