fix spec failing in travis due to diff error message in later rspec version