Sha256: 6a133af44f96f0aa45ad9b50477b351a0192dddc0f42e6207bf3322d4515c235

Contents?: true

Size: 305 Bytes

Versions: 39

Compression:

Stored size: 305 Bytes

Contents

require 'spec_helper'
require 'spree/testing_support/factories/promotion_code_factory'

RSpec.describe 'promotion code factory' do
  let(:factory_class) { Spree::PromotionCode }

  describe 'plain promotion code' do
    let(:factory) { :promotion_code }

    it_behaves_like 'a working factory'
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
solidus_core-2.0.1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-2.1.0.beta1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-2.0.0 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.4.0 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-2.0.0.rc1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.4.0.rc1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-2.0.0.beta1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.4.0.beta1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.3.1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.3.0 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.3.0.rc2 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.3.0.rc1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.3.0.beta1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.2.2 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.2.1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.2.0 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.2.0.rc2 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.2.0.rc1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb
solidus_core-1.2.0.beta1 spec/lib/spree/core/testing_support/factories/promotion_code_factory_spec.rb