update the rspec expectations syntax