switch to rspec expect() syntax