Sha256: 254403d8c78daa48223612ddad44f9f6898999b94ae87a71aff2d336ce0ecd39

Contents?: true

Size: 234 Bytes

Versions: 28

Compression:

Stored size: 234 Bytes

Contents

FactoryBot.define do
  factory :post_type, class: CamaleonCms::PostType do
    name { Faker::Name.unique.name }
    sequence(:slug) { |n| "posttyp#{n}" }
    description { Faker::Lorem.sentence }
    data_options {}
    site
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
camaleon_cms-2.6.4 spec/factories/post_type.rb
camaleon_cms-2.6.3 spec/factories/post_type.rb
camaleon_cms-2.6.2 spec/factories/post_type.rb
camaleon_cms-2.6.1 spec/factories/post_type.rb
camaleon_cms-2.6.0.1 spec/factories/post_type.rb
camaleon_cms-2.6.0 spec/factories/post_type.rb
camaleon_cms-2.5.3.1 spec/factories/post_type.rb
camaleon_cms-2.5.3 spec/factories/post_type.rb
camaleon_cms-2.5.2 spec/factories/post_type.rb
camaleon_cms_rails6-2.5.0 spec/factories/post_type.rb
camaleon_cms-2.5.1 spec/factories/post_type.rb
camaleon_cms-2.5.0 spec/factories/post_type.rb
camaleon_cms-2.4.6.9 spec/factories/post_type.rb
camaleon_cms-2.4.6.8 spec/factories/post_type.rb
camaleon_cms-2.4.6.7 spec/factories/post_type.rb
camaleon_cms-2.4.6.6 spec/factories/post_type.rb
camaleon_cms-2.4.6.5 spec/factories/post_type.rb
camaleon_cms-2.4.6.4 spec/factories/post_type.rb
camaleon_cms-2.4.6.3 spec/factories/post_type.rb
camaleon_cms-2.4.6.2 spec/factories/post_type.rb