Upgraded to rspec 3.x syntax