Sha256: d71bd7f0054d86e47abdb92764e73201d82499d73ec1044ec0cb976a93dcd732

Contents?: true

Size: 317 Bytes

Versions: 7

Compression:

Stored size: 317 Bytes

Contents

require 'spec_helper_models'

describe Gaku::ProgramSpecialty do

  describe 'associations' do
    it { should belong_to :program }
    it { should belong_to :specialty }
  end

  describe 'validations' do
    it { should validate_presence_of :specialty }
    # it { should validate_presence_of :program }
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gaku-0.2.4 core/spec/models/program_specialty_spec.rb
gaku-0.2.3 core/spec/models/program_specialty_spec.rb
gaku-0.2.2 core/spec/models/program_specialty_spec.rb
gaku-0.2.1 core/spec/models/program_specialty_spec.rb
gaku-0.2.0 core/spec/models/program_specialty_spec.rb
gaku-0.1.1 core/spec/models/program_specialty_spec.rb
gaku-0.1.0 core/spec/models/program_specialty_spec.rb