Sha256: 16c760aaddacd25ec12d783d477520bd40994b15633f1d0295a6dfa2e4048ae2
Contents?: true
Size: 662 Bytes
Versions: 9
Compression:
Stored size: 662 Bytes
Contents
require "spec_helper" describe Spree::CheckoutController, type: :controller do describe "#permitted_source_attributes" do it "returns added attributes" do source_attributes = [:number, :month, :year, :expiry, :verification_value, :first_name, :last_name, :cc_type, :gateway_customer_profile_id, :gateway_payment_profile_id, :last_digits, :name, :encrypted_data, :convenience, :email, :phone, :family_name, :given_name, :family_name_kana, :given_name_kana, :prepaid_number] expect(controller.permitted_source_attributes).to eq source_attributes end end end
Version data entries
9 entries across 9 versions & 1 rubygems