update rspec to use new syntax