Adapt for hspec >= 1.8