Sha256: 1c8683ad8dabfa20ca8755ec35e21c136430437098bd69812ec19a613318e730
Contents?: true
Size: 431 Bytes
Versions: 17
Compression:
Stored size: 431 Bytes
Contents
require "spec_helper" describe PagSeguro::Document do let(:document) { PagSeguro::Document.new('017.345.345-00') } subject { document } it { should respond_to(:type) } it { should respond_to(:value) } describe 'presence validations' do it { should validate_presence_of(:type) } it { should validate_presence_of(:value) } end describe 'set default country' do its(:type) { should eq('CPF') } end end
Version data entries
17 entries across 17 versions & 1 rubygems