update rspec to the new syntax