Sha256: d7cdafa85d49192066d663859ace2618e413fe47406a5ce483ed0f7dc9536df0
Contents?: true
Size: 318 Bytes
Versions: 22
Compression:
Stored size: 318 Bytes
Contents
require 'spec_helper' module Opay describe Payment do describe 'associations' do it { should belong_to(:payable) } end specify 'validations' do should validate_presence_of(:payable) should validate_presence_of(:provider) should validate_presence_of(:amount) end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
opay-1.0.8 | spec/models/opay/payment_spec.rb |
opay-1.0.7 | spec/models/opay/payment_spec.rb |