Switched to rspec expect syntax