Sha256: 2518fbd32d087c2a466c5e296d646a22a9a2e75b5d3213411a0329798f52f7c4
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :site, class: "Archangel::Site" do initialize_with { Archangel::Site.first_or_create } sequence(:name) { |n| "Site #{n} Name" } locale "en" meta_keywords "default,keywords,of,my,site" meta_description "Default description of my site" trait :logo do logo { fixture_file_upload(uploader_test_image) } end trait :deleted do deleted_at { Time.current } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
archangel-0.0.8 | lib/archangel/testing_support/factories/archangel_sites.rb |