Sha256: fe5d2bcbe0bd1badb1416d1787b505475010877087242e06496da882a9baf017
Contents?: true
Size: 427 Bytes
Versions: 32
Compression:
Stored size: 427 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
32 entries across 32 versions & 2 rubygems