Sha256: 2cb8d5eb8d36512fb18024ac011d58a5615252bfc3b283dcf8027009814abf7c
Contents?: true
Size: 366 Bytes
Versions: 6
Compression:
Stored size: 366 Bytes
Contents
require 'factory_girl' Factory.define(:post, :class => BlogPost) do |f| f.sequence(:title) { |n| "Top #{n} Shopping Centers in Chicago" } f.body "These are the top ten shopping centers in Chicago. You're going to read a long blog post about them. Come to peace with it." f.draft false f.tag_list "chicago, shopping, fun times" f.published_at Time.now end
Version data entries
6 entries across 6 versions & 1 rubygems