Sha256: 07f65f832e845d93a882f2bb99e60891a7d2b774e976784484e3cf70cc8998d3
Contents?: true
Size: 735 Bytes
Versions: 39
Compression:
Stored size: 735 Bytes
Contents
require 'spec_helper' require 'spree/testing_support/factories/promotion_factory' RSpec.describe 'promotion code factory' do let(:factory_class) { Spree::Promotion } describe 'plain promotion' do let(:factory) { :promotion } it_behaves_like 'a working factory' end describe 'promotion with item adjustment' do let(:factory) { :promotion_with_item_adjustment } it_behaves_like 'a working factory' end describe 'promotion with order adjustment' do let(:factory) { :promotion_with_order_adjustment } it_behaves_like 'a working factory' end describe 'promotion with item total rule' do let(:factory) { :promotion_with_item_total_rule } it_behaves_like 'a working factory' end end
Version data entries
39 entries across 39 versions & 1 rubygems