Install the following Gems:
FactoryGirl - we use it for quick building and creating instances of objects
Shoulda - great helpers which speed up writing simple and iterative tests, for example, testing model validations
Write unit tests and test model validations, scopes, callbacks, associations and complex methods to be sure the model is behaving as it should.
Install the following Gems: FactoryGirl - we use it for quick building and creating instances of objects Shoulda - great helpers which speed up writing simple and iterative tests, for example, testing model validations
Write unit tests and test model validations, scopes, callbacks, associations and complex methods to be sure the model is behaving as it should.