Sha256: dbba72bb6fdd7e8b820adc8690bda4f9b0746a3072a3ed86f82bacadbcd27728

Contents?: true

Size: 325 Bytes

Versions: 6

Compression:

Stored size: 325 Bytes

Contents

require 'spec_helper'

describe Spree::Gateway::Bogus do
  it 'is deprecated' do
    expect(Spree::Deprecation).to receive(:warn)
    described_class.new
  end

  it 'has Spree::PaymentMethod::BogusCreditCard as superclass' do
    expect(described_class.ancestors).to include(Spree::PaymentMethod::BogusCreditCard)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_core-2.3.1 spec/models/spree/gateway/bogus_spec.rb
solidus_core-2.3.0 spec/models/spree/gateway/bogus_spec.rb
solidus_core-2.3.0.rc3 spec/models/spree/gateway/bogus_spec.rb
solidus_core-2.3.0.rc2 spec/models/spree/gateway/bogus_spec.rb
solidus_core-2.3.0.rc1 spec/models/spree/gateway/bogus_spec.rb
solidus_core-2.3.0.beta1 spec/models/spree/gateway/bogus_spec.rb