Sha256: ad19d43b726a2fe21e3e1034f9e950ae0491bba2f3e300785b24b3534a6ef982
Contents?: true
Size: 424 Bytes
Versions: 6
Compression:
Stored size: 424 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 bogus.disable_customer_profile(cc) expect(cc.gateway_customer_profile_id).to be_nil end end end
Version data entries
6 entries across 6 versions & 1 rubygems