Correcting outdated rspec syntax.