Update cucumber tests to use more reliable matcher

This was failing on CI for suspicious reasons. We should probably
upgrade Rspec (and cucumber).