Sha256: 3c5b59b140a490ab1098db720b7098828ab4cb2eabfec5fd2a1a97f6a783d341
Contents?: true
Size: 369 Bytes
Versions: 3
Compression:
Stored size: 369 Bytes
Contents
# Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :blogr_post, :class => 'Blogr::Post' do title "Blog's title" content "something wrong happening there" permalink "blogs-title" published false published_at "2013-11-10 10:00" category_id 1 user { FactoryGirl.create(:blogr_user) } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
blogr-0.0.8 | spec/factories/blogr_posts.rb |
blogr-0.0.7 | spec/factories/blogr_posts.rb |
blogr-0.0.6 | spec/factories/blogr_posts.rb |