mastodon/spec/fabricators/generated_annual_report_fabricator.rb
2024-09-03 16:10:48 +00:00

8 lines
228 B
Ruby

# frozen_string_literal: true
Fabricator(:generated_annual_report) do
account { Fabricate.build(:account) }
data { { test: :data } }
schema_version { AnnualReport::SCHEMA }
year { sequence(:year) { |i| 2000 + i } }
end