Sha256: be8592fbe4a845c5c7198a995657f270fad39a8033e43a2dc588d7163cf24fc2
Contents?: true
Size: 805 Bytes
Versions: 5
Compression:
Stored size: 805 Bytes
Contents
FactoryGirl.define do sequence :spud_post_title do |n| "Test Blog Post #{n}" end factory :spud_post do author { FactoryGirl.create(:spud_user) } title { FactoryGirl.generate(:spud_post_title) } content 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.' comments_enabled true visible true published_at DateTime.now content_format 'HTML' blog_key 'blog' end end
Version data entries
5 entries across 5 versions & 1 rubygems