Sha256: 61acfeb6efc200bce02311216233153b2cd70d08d65e22dcb6b90033e9a95c78

Contents?: true

Size: 807 Bytes

Versions: 7

Compression:

Stored size: 807 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
#  lock_version       :integer          default(0), not null
#  created_at         :datetime
#  updated_at         :datetime
#  deleted_at         :datetime
#  url                :string(255)
#  manifestation_id   :integer
#

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enju_subject-0.1.0.pre19 spec/models/subject_spec.rb
enju_subject-0.1.0.pre18 spec/models/subject_spec.rb
enju_subject-0.1.0.pre17 spec/models/subject_spec.rb
enju_subject-0.1.0.pre16 spec/models/subject_spec.rb
enju_subject-0.1.0.pre15 spec/models/subject_spec.rb
enju_subject-0.1.0.pre14 spec/models/subject_spec.rb
enju_subject-0.1.0.pre13 spec/models/subject_spec.rb