Tweak to rspec syntax via comment by @danielsdeleo