Sha256: c64dcfc2352ce633a51744758a63445535e1a09db2b216d5b3fe006168be90ce
Contents?: true
Size: 263 Bytes
Versions: 6
Compression:
Stored size: 263 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :physical_item, class: "Physical::Item" do dimensions { [1, 2, 3].map { |d| Measured::Length(d, :cm) } } weight { Measured::Weight(50, :g) } initialize_with { new(**attributes) } end end
Version data entries
6 entries across 6 versions & 1 rubygems