Add clarity around linting and database_cleaner

Closes #645
This commit is contained in:
Joshua Clayton 2014-05-29 13:54:54 -04:00
parent dacc167803
commit 5c7e72d310
1 changed files with 3 additions and 1 deletions

View File

@ -99,7 +99,9 @@ end
```
After calling `FactoryGirl.lint`, you'll likely want to clear out the
database, as built factories will create associated records.
database, as built factories will create associated records. The provided
example above uses the database_cleaner gem to clear out the database; be sure
to add the gem to your Gemfile under the appropriate groups.
Defining factories
------------------