Updated raise => fail, so RubyCop will stop complaining