Sha256: b147084230eae63cf28a6751bc0a3435baf20e51404d454de5912c9dd881f1f7
Contents?: true
Size: 536 Bytes
Versions: 22
Compression:
Stored size: 536 Bytes
Contents
require "spec_helper" describe PagSeguro::Holder do let(:holder) { PagSeguro::Holder.new('Cleonice Maria', '31/12/2013') } subject { holder } it { should respond_to(:name) } it { should respond_to(:birthdate) } it { should respond_to(:document) } it { should respond_to(:phone) } describe 'presence validations' do it { should validate_presence_of(:name) } it { should validate_presence_of(:birthdate) } it { should validate_presence_of(:document) } it { should validate_presence_of(:phone) } end end
Version data entries
22 entries across 22 versions & 1 rubygems