Sha256: 9efc8937e5e47a3159cfe08ed590d85710eeac67af50352bef00e2acdd8e0e22

Contents?: true

Size: 126 Bytes

Versions: 4

Compression:

Stored size: 126 Bytes

Contents

Factory.define(:blog_category) do |f|
  f.sequence(:title) { |n| "Shopping #{n}" }
  f.posts {|p| [p.association(:post)]}
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-blog-1.3.2 features/support/factories/blog_categories.rb
refinerycms-blog-1.3.1 features/support/factories/blog_categories.rb
refinerycms-blog-1.3 features/support/factories/blog_categories.rb
refinerycms-blog-1.2 features/support/factories/blog_categories.rb