Installing FactoryGirl for Test Data Factories in Rails


Not CompletedInstalling FactoryGirl to Create Test Data in Rails

In this guide we are going to install a gem called FactoryGirl which will help us to streamline our code for test data creation.

Not CompletedRefactoring Tests to Include Factories with FactoryGirl

Now that we have our FactoryGirl configuration in place, let's start to refactor our tests to use factories instead of manually creating test specs.

Quizzes


Installing FactoryGirl for Test Data Factories in Rails
    Unsupported Browser

    devCamp does not support ancient browsers.
    Install a modern version for best experience.