Fix broken spec

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