2013-02-05 14:16:51 -05:00
|
|
|
Fabricator(:category) do
|
2013-05-07 15:52:45 -04:00
|
|
|
name { sequence(:name) { |n| "Amazing Category #{n}" } }
|
2013-02-05 14:16:51 -05:00
|
|
|
user
|
|
|
|
end
|
2014-10-08 12:44:47 -04:00
|
|
|
|
|
|
|
Fabricator(:diff_category, from: :category) do
|
|
|
|
name "Different Category"
|
|
|
|
user
|
|
|
|
end
|
2014-12-20 09:07:29 -05:00
|
|
|
|
|
|
|
Fabricator(:happy_category, from: :category) do
|
|
|
|
name 'Happy Category'
|
|
|
|
slug 'happy'
|
|
|
|
user
|
|
|
|
end
|