Sha256: cb113304e4b6b14043fbc66a2d67fab402b856ad7d93aaaeedadb761fce281e5
Contents?: true
Size: 356 Bytes
Versions: 5
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :entry, class: "Archangel::Entry" do collection value { ActiveSupport::JSON.encode(title: "Title", content: "Content") } available_at { Time.current } trait :deleted do deleted_at { Time.current } end trait :unavailable do deleted_at nil end end end
Version data entries
5 entries across 5 versions & 1 rubygems