Sha256: 4862b73cb5361cca4468da4162982ad48d8dbcff07f3f0119347d4cb5dedd36e
Contents?: true
Size: 359 Bytes
Versions: 5
Compression:
Stored size: 359 Bytes
Contents
require 'spec_helper_models' describe Gaku::ExamPortionScore do describe 'relations' do it { should belong_to :exam_portion } it { should belong_to :student } it { should have_many :attendances } end describe 'validations' do it { should validate_presence_of :student } it { should validate_presence_of :exam_portion } end end
Version data entries
5 entries across 5 versions & 1 rubygems