From "Effective Testing with Rspec 3" https://learning.oreilly.com/library/view/effective-testing-with/9781680502770/