1 2 3 4 5
FactoryGirl.define do factory :blog_category, :class => Refinery::Blog::Category do sequence(:title) { |n| "Shopping #{n}" } end end