Sha256: 24cb0c181987f0a161a1ceea4c6bb82b4d1980ba26bdf2e7440fdac7b866dc3e

Contents?: true

Size: 448 Bytes

Versions: 39

Compression:

Stored size: 448 Bytes

Contents

require 'spec_helper'
require 'spree/testing_support/factories/store_credit_type_factory'

RSpec.describe 'store credit type factory' do
  let(:factory_class) { Spree::StoreCreditType }

  describe 'primary credit type' do
    let(:factory) { :primary_credit_type }

    it_behaves_like 'a working factory'
  end

  describe 'secondary credit type' do
    let(:factory) { :secondary_credit_type }

    it_behaves_like 'a working factory'
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
solidus_core-2.3.1 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.2.2 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.1.1 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.0.3 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-1.4.2 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-1.3.2 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-1.2.3 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.3.0 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.3.0.rc3 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.3.0.rc2 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.3.0.rc1 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.3.0.beta1 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.0.2 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-1.4.1 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.2.1 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.2.0 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.2.0.rc1 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.2.0.beta1 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.1.0 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb
solidus_core-2.1.0.rc1 spec/lib/spree/core/testing_support/factories/store_credit_type_factory_spec.rb