aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories/blog_categories.rb
blob: 590e5b54b69d0921befdc49b348f4953eca0c479 (plain) (blame)
1
2
3
4
Factory.define(:blog_category) do |f|
  f.title "Shopping"
  f.posts {|p| [p.association :post]}
end