Using rspec expect syntax