Sha256: 6b86a89dacddcafae8bc19f91964767d88dbd7a87fbc264aef33ab918c777146
Contents?: true
Size: 422 Bytes
Versions: 56
Compression:
Stored size: 422 Bytes
Contents
# frozen_string_literal: true require 'spree/testing_support/factory_bot' Spree::TestingSupport::FactoryBot.when_cherry_picked do Spree::TestingSupport::FactoryBot.deprecate_cherry_picking require 'spree/testing_support/sequences' end FactoryBot.define do factory :tax_category, class: 'Spree::TaxCategory' do name { "TaxCategory - #{rand(999_999)}" } tax_code { "TaxCode - #{rand(999_999)}" } end end
Version data entries
56 entries across 56 versions & 1 rubygems