Please read for an updated status on RailsCasts:
Learn more or hide this
I like how you showed the process of refactoring in this series, but I wouldn't recommend multiple assertions in one controller.
Yes, I agree. Multiple assertion is a bad practice since only the first assertion gets called if code changes alter behavior.
Excellent. Just like a twist in a good fiction.
Great! Of course, you are right. We have to take care of making every test clean.
First sign in through GitHub to post a comment.