Moved CodeClimate stuff from rails helper to spec helper