Sha256: e2d64388156a683f1913cc654daa5ebdad4cbeed4e24804fd498affbbb57e6e3
Contents?: true
Size: 312 Bytes
Versions: 3
Compression:
Stored size: 312 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :counter_metric, class: "Hyrax::CounterMetric" do worktype { "Generic Work" } resource_type { "Book" } work_id { "12345678" } date { Date.new(2023, 7, 17) } total_item_investigations { 10 } total_item_requests { 5 } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hyrax-5.0.1 | lib/hyrax/specs/shared_specs/factories/counter_metrics.rb |
hyrax-5.0.0 | spec/factories/counter_metrics.rb |
hyrax-5.0.0.rc3 | spec/factories/counter_metrics.rb |