Date published: 1-20-2014
Rails version: 4.0.0
Testing
One common task that developers should do when working on a project is to create tests that can be run to ensure that when we add new functionality to the project that it won’t break things that already exist. Rails already has a comprehensive test structure built in, and there are a ton of other resources that other developers have created to make testing easier. In this tutorial, I’m going to create tests for a basic User model using Rails’ test framework. Continue reading »