Hack for supporting different versions of RSpec