How will the junior learn how to do it otherwise? Ultimately it's that first hand experience that will be the biggest lesson in teaching the junior.
Perhaps the solution is something in-between - assigning the task to the junior, expecting honesty and communication from them, and pointing them in the right direction as they need it. With competent but inexperienced junior, this works and results in a stronger team.