Sha256: 1ccbf504dad27db6d3449ecb2b31bed9b13759ebe68955fcd6bf694a650606ab

Contents?: true

Size: 349 Bytes

Versions: 3

Compression:

Stored size: 349 Bytes

Contents

require 'spec_helper'

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

3 entries across 3 versions & 1 rubygems

Version Path
gaku-0.0.3 core/spec/models/faculty_spec.rb
gaku-0.0.2 core/spec/models/faculty_spec.rb
gaku-0.0.1 core/spec/models/faculty_spec.rb