Sha256: 04b32dcc81d74e527c4c96555ce55f2f862f85ebeac9d297a71dceed160f8c13
Contents?: true
Size: 544 Bytes
Versions: 22
Compression:
Stored size: 544 Bytes
Contents
require "spec_helper" describe PagSeguro::CreditCard do let(:card) { PagSeguro::CreditCard.new('card_token') } subject { card } it { should respond_to(:token) } it { should respond_to(:installment) } it { should respond_to(:holder) } it { should respond_to(:billing_address) } describe 'presence validations' do it { should validate_presence_of(:token) } it { should validate_presence_of(:installment) } it { should validate_presence_of(:holder) } it { should validate_presence_of(:billing_address) } end end
Version data entries
22 entries across 22 versions & 1 rubygems