Sha256: 3d46a11fb784e8134a6b93deea509ad311b69401a645a5fe681f81218d7b5a69
Contents?: true
Size: 989 Bytes
Versions: 48
Compression:
Stored size: 989 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' require 'spree/testing_support/factories/calculator_factory' RSpec.describe 'calculator factory' do let(:factory_class) { Spree::Calculator } describe 'calculator' do let(:factory) { :calculator } it_behaves_like 'a working factory' end describe 'no amount calculator' do let(:factory) { :no_amount_calculator } it_behaves_like 'a working factory' end describe 'default_tax_calculator' do let(:factory) { :default_tax_calculator } it_behaves_like 'a working factory' end describe 'shipping calculator' do let(:factory) { :shipping_calculator } it_behaves_like 'a working factory' end describe 'shipping no amount calculator' do let(:factory) { :shipping_no_amount_calculator } it_behaves_like 'a working factory' end describe 'percent on item calculator' do let(:factory) { :percent_on_item_calculator } it_behaves_like 'a working factory' end end
Version data entries
48 entries across 48 versions & 2 rubygems