Sha256: 557aa3296e549d87c65882f031f4c67f08ac833b5384eabff5f66e6f640425e6

Contents?: true

Size: 335 Bytes

Versions: 2

Compression:

Stored size: 335 Bytes

Contents

# == Schema Information
#
# Table name: pages
#
#  id         :integer          not null, primary key
#  name       :string(255)
#  permalink  :string(255)
#  site_id    :integer
#  created_at :datetime
#  updated_at :datetime
#

FactoryGirl.define do
  factory :page do
    name { Faker::Lorem.words(4).join(' ') }
    site
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
superslug-1.3.1 test/spec/factories/pages.rb
superslug-1.3.0 test/spec/factories/pages.rb