Sha256: eb43d628449513135b19d81b487d2c19be91595bd3b18d1604f0be31b94ba7ca

Contents?: true

Size: 575 Bytes

Versions: 15

Compression:

Stored size: 575 Bytes

Contents

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

describe CarrierType do
  fixtures :carrier_types

  it "should respond to mods_type" do
    carrier_types(:carrier_type_00001).mods_type.should eq 'text'
    carrier_types(:carrier_type_00002).mods_type.should eq 'software, multimedia'
  end
end

# == Schema Information
#
# Table name: carrier_types
#
#  id           :integer          not null, primary key
#  name         :string(255)      not null
#  display_name :text
#  note         :text
#  position     :integer
#  created_at   :datetime
#  updated_at   :datetime
#

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
enju_biblio-0.2.0.beta.2 spec/models/carrier_type_spec.rb
enju_biblio-0.2.0.beta.1 spec/models/carrier_type_spec.rb
enju_biblio-0.1.3 spec/models/carrier_type_spec.rb
enju_biblio-0.1.2 spec/models/carrier_type_spec.rb
enju_biblio-0.1.1 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre71 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre70 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre69 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre68 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre67 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre66 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre65 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre64 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre63 spec/models/carrier_type_spec.rb