be4c8c3
1 2 3 4
Factory.define(:blog_category) do |f| f.title "Shopping" f.posts {|p| [p.association :post]} end