Sha256: e69a6bae2cb2c1e2a251a7ec895e18aef169a4ae81112bd5d8ba68cbd1b40e7c
Contents?: true
Size: 344 Bytes
Versions: 5
Compression:
Stored size: 344 Bytes
Contents
require 'factory_girl' # Dir[Rails.root.join("spec/factories/*.rb")].each {|f| require f} (1..100).each do |sn| Post.create! title: "post n-#{sn}", author: "john-#{(sn % 4) + 1}", category: "category-#{(sn % 3) + 1}" end (1..10).each do |sn| FactoryGirl.create :album end (1..10).each do |sn| FactoryGirl.create :track, album: nil end
Version data entries
5 entries across 5 versions & 1 rubygems