author avatar

manu

Thu Jan 25 2018

Rspec's subject is a special variable that refers to the object being tested. It's instantiated implicitly but can also be done explicitly. Handy to be used with shoulda matchers.