Sha256: 0c3b6d12f1e9e986fe96f32f236d1b2b8dd8f3654f82fd5764a31dffa03489bf

Contents?: true

Size: 356 Bytes

Versions: 7

Compression:

Stored size: 356 Bytes

Contents

require 'spec_helper_models'

describe Gaku::Faculty do

  describe 'concerns' do
    it_behaves_like 'contactable'
    it_behaves_like 'addressable'
  end

  describe 'associations' do
    it { should have_many :school_roles }
    it { should have_many :students }
    it { should have_many :class_groups }
    it { should have_many :courses }
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

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