Sha256: 2a2e0659e3ce10ae29bebdf9fa9608d834603a2e72117977a724378fee8a2ade
Contents?: true
Size: 312 Bytes
Versions: 7
Compression:
Stored size: 312 Bytes
Contents
require 'spec_helper_models' describe Gaku::Badge do describe 'associations' do it { should belong_to :badge_type } it { should belong_to :student } end describe 'validations' do it { should validate_presence_of :student_id } it { should validate_presence_of :badge_type_id } end end
Version data entries
7 entries across 7 versions & 1 rubygems