Use expect syntax for rspec