use rspec expect syntax