3 ms·
I am not sure how they are mutually exclusive. You are going to test that your solution works. Switching from manual confirmation to automatic confirmation isn'
by nahname 14y ago
I am not sure how they are mutually exclusive. You are going to test that your solution works. Switching from manual confirmation to automatic confirmation isn't so difficult. The real trick is figuring out your expectations before you write you code. Which makes sense when you think about it.
When this code works, I will see the username show up in the view.
Versus.
assigns(:username).should == "expected"
I realize this example is trivialized, but these are the usually examples people start with when they are learning how to start with tests instead of code.