refactor profanity spec