Sha256: 95019fbdd85e3fc5a20ed3859af147b37e1c32b63776f4547c2cff471bcbc036

Contents?: true

Size: 311 Bytes

Versions: 7

Compression:

Stored size: 311 Bytes

Contents

FactoryGirl.define do
  factory :content_builder, class: RailsAdminContentBuilder::ContentBuilder do
    title { Faker::Lorem.characters }
    date_publish { Time.now }
    written_by { Faker::Name.name }
    content ''
    content_builder_category factory: :content_builder_category
    status false
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_admin_content_builder-1.3.0 spec/factories/content_builders.rb
rails_admin_content_builder-1.2.0 spec/factories/content_builders.rb
rails_admin_content_builder-1.1.0 spec/factories/content_builders.rb
rails_admin_content_builder-1.0.6 spec/factories/content_builders.rb
rails_admin_content_builder-1.0.5 spec/factories/content_builders.rb
rails_admin_content_builder-1.0.4 spec/factories/content_builders.rb
rails_admin_content_builder-1.0.3 spec/factories/content_builders.rb