Trying to fix up rspec expect syntax