Fix broken spec

This spec was written using RSpec 2 syntax (presumably after the RSpec 3 branch was branched, but before it was merged), so it's failing on master.