edit spec helper