Sha256: cfa38dcf950e58bc7f4004e54c6baeb44f6d7eb090dc0963c06225dca10c3478

Contents?: true

Size: 884 Bytes

Versions: 15

Compression:

Stored size: 884 Bytes

Contents

require 'rails_helper'

describe Subject do
  fixtures :subjects

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

# == Schema Information
#
# Table name: subjects
#
#  id                      :integer          not null, primary key
#  parent_id               :integer
#  use_term_id             :integer
#  term                    :string
#  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
#  manifestation_id        :integer
#  subject_heading_type_id :integer
#

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
enju_subject-0.3.4 spec/models/subject_spec.rb
enju_subject-0.3.3 spec/models/subject_spec.rb
enju_subject-0.3.2 spec/models/subject_spec.rb
enju_subject-0.4.0.beta.1 spec/models/subject_spec.rb
enju_subject-0.3.1 spec/models/subject_spec.rb
enju_subject-0.3.0 spec/models/subject_spec.rb
enju_subject-0.3.0.rc.1 spec/models/subject_spec.rb
enju_subject-0.3.0.beta.1 spec/models/subject_spec.rb
enju_subject-0.2.3 spec/models/subject_spec.rb
enju_subject-0.2.2 spec/models/subject_spec.rb
enju_subject-0.2.1 spec/models/subject_spec.rb
enju_subject-0.2.0 spec/models/subject_spec.rb
enju_subject-0.2.0.beta.5 spec/models/subject_spec.rb
enju_subject-0.2.0.beta.4 spec/models/subject_spec.rb
enju_subject-0.2.0.beta.3 spec/models/subject_spec.rb