Fixed a spec that stopped working on the latest rspec version.