chinwagsocial/spec/fabricators/generated_annual_report_fabricator.rb

9 lines
228 B
Ruby
Raw Normal View History

# 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