Sha256: fe75462084f3be87df1770d89657381e3a01195cb5de58c03fe944b312f37412
Contents?: true
Size: 472 Bytes
Versions: 12
Compression:
Stored size: 472 Bytes
Contents
require 'spec_helper' module Spree describe Gateway::Bogus, type: :model do let(:bogus) { create(:credit_card_payment_method) } let!(:cc) { create(:credit_card, payment_method: bogus, gateway_customer_profile_id: "BGS-RERTERT") } it "disable recurring contract by destroying payment source" do Spree::Deprecation.silence do bogus.disable_customer_profile(cc) end expect(cc.gateway_customer_profile_id).to be_nil end end end
Version data entries
12 entries across 12 versions & 1 rubygems