Code from the "RSpec Book" by David Chelimsky