Sha256: 8ac3e2c348673f2ad3b6a19dca26ec869e3b88cfe2e2c81afc2beabb50993b80

Contents?: true

Size: 867 Bytes

Versions: 17

Compression:

Stored size: 867 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'spec_helper'

describe Subject do
  fixtures :subjects

  it "should get term" do
    subjects(:subject_00001).term.should be_true
  end
end

# == Schema Information
#
# Table name: subjects
#
#  id                      :integer         not null, primary key
#  parent_id               :integer
#  use_term_id             :integer
#  term                    :string(255)
#  term_transcription      :text
#  subject_type_id         :integer         not null
#  scope_note              :text
#  note                    :text
#  required_role_id        :integer         default(1), not null
#  work_has_subjects_count :integer         default(0), not null
#  lock_version            :integer         default(0), not null
#  created_at              :datetime
#  updated_at              :datetime
#  deleted_at              :datetime
#

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
enju_subject-0.1.0.pre3 spec/models/subject_spec.rb
enju_subject-0.1.0.pre2 spec/models/subject_spec.rb
enju_subject-0.1.0.pre spec/models/subject_spec.rb
enju_subject-0.0.18 spec/models/subject_spec.rb
enju_subject-0.0.17 spec/models/subject_spec.rb
enju_subject-0.0.16 spec/models/subject_spec.rb
enju_subject-0.0.15 spec/models/subject_spec.rb
enju_subject-0.0.14 spec/models/subject_spec.rb
enju_subject-0.0.13 spec/models/subject_spec.rb
enju_subject-0.0.12 spec/models/subject_spec.rb
enju_subject-0.0.10 spec/models/subject_spec.rb
enju_subject-0.0.9 spec/models/subject_spec.rb
enju_subject-0.0.8 spec/models/subject_spec.rb
enju_subject-0.0.7 spec/models/subject_spec.rb
enju_subject-0.0.6 spec/models/subject_spec.rb
enju_subject-0.0.5 spec/models/subject_spec.rb
enju_subject-0.0.4 spec/models/subject_spec.rb