Sha256: c5892bb375ce41ea336ad410813f959c54421bfcc20d3e3b3b163de0c2e36cf2

Contents?: true

Size: 918 Bytes

Versions: 7

Compression:

Stored size: 918 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
#  subject_heading_type_id :integer
#

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
enju_subject-0.1.0.pre25 spec/models/subject_spec.rb
enju_trunk_subject-1.0.4 spec/models/subject_spec.rb
enju_subject-0.1.0.pre24 spec/models/subject_spec.rb
enju_subject-0.1.0.pre23 spec/models/subject_spec.rb
enju_subject-0.1.0.pre22 spec/models/subject_spec.rb
enju_subject-0.1.0.pre21 spec/models/subject_spec.rb
enju_subject-0.1.0.pre20 spec/models/subject_spec.rb