Sha256: 579655de17587edb5f55757260221d981f172c56e89580c9e7912947460b6e09
Contents?: true
Size: 364 Bytes
Versions: 6
Compression:
Stored size: 364 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) should validate_presence_of(:session_id) end end end
Version data entries
6 entries across 6 versions & 1 rubygems