Skip to content

Add and configure factory_girl and use factories in the specs

paz requested to merge factory-girl into master

factory_girl makes it easy to create test objects. https://github.com/thoughtbot/factory_girl

To get started, this might also be helpful: http://www.rubydoc.info/gems/factory_girl/file/GETTING_STARTED.md

I have added factories for list and subscription and used them in the corresponding specs.

Merge request reports