Sha256: a129a6eea9f183d301d1969e9764c3f9b9df3311e93c53fb3a4dd688f19547a1

Contents?: true

Size: 732 Bytes

Versions: 39

Compression:

Stored size: 732 Bytes

Contents

require 'spec_helper'
require 'spree/testing_support/factories/payment_method_factory'

RSpec.describe 'payment method factory' do
  let(:factory_class) { Spree::PaymentMethod }

  describe 'plain payment method' do
    let(:factory) { :payment_method }

    it_behaves_like 'a working factory'
  end

  describe 'check payment method' do
    let(:factory) { :check_payment_method }

    it_behaves_like 'a working factory'
  end

  describe 'store credit payment method' do
    let(:factory) { :store_credit_payment_method }

    it_behaves_like 'a working factory'
  end

  describe 'simple credit card payment method' do
    let(:factory) { :simple_credit_card_payment_method }

    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/payment_method_factory_spec.rb
solidus_core-2.2.2 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.1.1 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.0.3 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-1.4.2 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-1.3.2 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-1.2.3 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.3.0 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.3.0.rc3 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.3.0.rc2 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.3.0.rc1 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.3.0.beta1 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.0.2 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-1.4.1 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.2.1 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.2.0 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.2.0.rc1 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.2.0.beta1 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.1.0 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb
solidus_core-2.1.0.rc1 spec/lib/spree/core/testing_support/factories/payment_method_factory_spec.rb