Sha256: b90c8b88b55d6756a98903d3df9a29632164d060dd8697c11c0688c65785d51f

Contents?: true

Size: 610 Bytes

Versions: 52

Compression:

Stored size: 610 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         not null
#  updated_at   :datetime         not null
#

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre62 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre61 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre60 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre59 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre58 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre57 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre56 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre55 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre54 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre53 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre52 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre51 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre50 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre49 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre48 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre47 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre46 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre45 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre44 spec/models/carrier_type_spec.rb
enju_biblio-0.1.0.pre43 spec/models/carrier_type_spec.rb