Sha256: eea0c4514ea8d3fa4d8a81b82b1d9b8c5f91d8375372ee1b572b78c41a249146

Contents?: true

Size: 311 Bytes

Versions: 11

Compression:

Stored size: 311 Bytes

Contents

require 'rails_helper'
require 'spree/testing_support/factories/order_promotion_factory'

RSpec.describe 'order promotion factory' do
  let(:factory_class) { Spree::OrderPromotion }

  describe 'plain order promotion' do
    let(:factory) { :order_promotion }

    it_behaves_like 'a working factory'
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_core-2.5.2 spec/lib/spree/core/testing_support/factories/order_promotion_factory_spec.rb
solidus_core-2.5.1 spec/lib/spree/core/testing_support/factories/order_promotion_factory_spec.rb
solidus_core-2.5.0 spec/lib/spree/core/testing_support/factories/order_promotion_factory_spec.rb
solidus_core-2.5.0.rc1 spec/lib/spree/core/testing_support/factories/order_promotion_factory_spec.rb
solidus_core-2.5.0.beta2 spec/lib/spree/core/testing_support/factories/order_promotion_factory_spec.rb
solidus_core-2.5.0.beta1 spec/lib/spree/core/testing_support/factories/order_promotion_factory_spec.rb
solidus_core-2.4.2 spec/lib/spree/core/testing_support/factories/order_promotion_factory_spec.rb
solidus_core-2.4.1 spec/lib/spree/core/testing_support/factories/order_promotion_factory_spec.rb
solidus_core-2.4.0 spec/lib/spree/core/testing_support/factories/order_promotion_factory_spec.rb
solidus_core-2.4.0.rc1 spec/lib/spree/core/testing_support/factories/order_promotion_factory_spec.rb
solidus_core-2.4.0.beta1 spec/lib/spree/core/testing_support/factories/order_promotion_factory_spec.rb