Makes avatar url tests in problem_helper_spec compatible with ruby 1.8