Rails Testing Strategies
The first article of the series, Positive and Negative Controls talks about testing with valid and invalid data in the context of Rails model and controller classes. The second article, Valid and Invalid Data delves further into the topic by describing how to use Mock versions of your model classes to avoid repetition. Let's hope Kevin continues this valuable series of articles.
Chris Mattmann Apr 15, 2014