Conversion to new rspec format with expect()