Sha256: 39d57383ba5eb0d1a516960d53a728ffc3d93ed517b738040a654cc7469f492a

Contents?: true

Size: 363 Bytes

Versions: 48

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Spree::OrderCapturing do
  describe '#capture_payments' do
    subject { Spree::OrderCapturing.new(order).capture_payments }

    let(:order) { build(:completed_order_with_totals) }

    it 'is deprecated' do
      expect(Spree::Deprecation).to(receive(:warn))
      subject
    end
  end
end

Version data entries

48 entries across 48 versions & 2 rubygems

Version Path
solidus_core-2.10.5 spec/models/spree/order_capturing_spec.rb
solidus_core-2.10.3 spec/models/spree/order_capturing_spec.rb
solidus_core-2.10.2 spec/models/spree/order_capturing_spec.rb
solidus_core-2.9.6 spec/models/spree/order_capturing_spec.rb
solidus_core-2.8.6 spec/models/spree/order_capturing_spec.rb
solidus_core-2.10.1 spec/models/spree/order_capturing_spec.rb
solidus_core-2.9.5 spec/models/spree/order_capturing_spec.rb
solidus_core-2.10.0 spec/models/spree/order_capturing_spec.rb
solidus_core-2.9.4 spec/models/spree/order_capturing_spec.rb
solidus_core-2.6.6 spec/models/spree/order_capturing_spec.rb
solidus_core-2.7.4 spec/models/spree/order_capturing_spec.rb
solidus_core-2.8.5 spec/models/spree/order_capturing_spec.rb
solidus_core-2.9.3 spec/models/spree/order_capturing_spec.rb
solidus_core-2.9.2 spec/models/spree/order_capturing_spec.rb
solidus_core-2.10.0.beta1 spec/models/spree/order_capturing_spec.rb
solidus_core-2.7.3 spec/models/spree/order_capturing_spec.rb
solidus_core-2.6.5 spec/models/spree/order_capturing_spec.rb
solidus_core-2.9.1 spec/models/spree/order_capturing_spec.rb
solidus_core-2.9.0 spec/models/spree/order_capturing_spec.rb
solidus_core-2.9.0.rc.1 spec/models/spree/order_capturing_spec.rb