Sha256: d1ac1e158d8d4955cab3f5ad5a07f20c5e71ee97bb45279c6024de6f75be6240
Contents?: true
Size: 582 Bytes
Versions: 22
Compression:
Stored size: 582 Bytes
Contents
require "spec_helper" describe PagSeguro::Sender do let(:sender) { PagSeguro::Sender.new } subject { sender } it { should respond_to(:email) } it { should respond_to(:name) } it { should respond_to(:hash_id) } it { should respond_to(:document) } it { should respond_to(:phone) } describe 'presence validations' do it { should validate_presence_of(:email) } it { should validate_presence_of(:name) } it { should validate_presence_of(:hash_id) } it { should validate_presence_of(:document) } it { should validate_presence_of(:phone) } end end
Version data entries
22 entries across 22 versions & 1 rubygems