use rspec expect() syntax