update to new rspec api