Thank you so much for this… I was a let whore for awhile and did exactly each one of those examples and then I would go back a few months down the line and be like WTH is this!!!
I am trying to improve my testing and I have a gist with some code…
Basically what I am testing if is a signed in or not… Is there a better way to communicate through the testing? I really how like in the thoughtbot rspec book he says not to hit the database when you dont need to…
Please take a look and add comments so I can improve!!