Sha256: 46dee7d3b1709155c319235836860cea7e2b877b2eaf240b5ab82affe1e12164
Contents?: true
Size: 703 Bytes
Versions: 3
Compression:
Stored size: 703 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :flat_rate_calculator, aliases: [:calculator], class: 'Spree::Calculator::FlatRate' do preferred_amount { 10.0 } end factory :no_amount_calculator, class: 'Spree::Calculator::FlatRate' do preferred_amount { 0 } end factory :default_tax_calculator, class: 'Spree::Calculator::DefaultTax' do end factory :flat_fee_calculator, class: 'Spree::Calculator::FlatFee' do end factory :shipping_calculator, class: 'Spree::Calculator::Shipping::FlatRate' do preferred_amount { 10.0 } end factory :shipping_no_amount_calculator, class: 'Spree::Calculator::Shipping::FlatRate' do preferred_amount { 0 } end end
Version data entries
3 entries across 3 versions & 1 rubygems