update to use new rspec syntax