Sha256: 00acfe9941ca3709359894bb183f54cc3c15dbb9e18801eab1f758540df6663e

Contents?: true

Size: 796 Bytes

Versions: 6

Compression:

Stored size: 796 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'rails_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           not null
#  display_name            :text
#  note                    :text
#  position                :integer
#  created_at              :datetime
#  updated_at              :datetime
#  attachment_file_name    :string
#  attachment_content_type :string
#  attachment_file_size    :integer
#  attachment_updated_at   :datetime
#

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
enju_biblio-0.2.5 spec/models/carrier_type_spec.rb
enju_biblio-0.2.4 spec/models/carrier_type_spec.rb
enju_biblio-0.2.3 spec/models/carrier_type_spec.rb
enju_biblio-0.2.2 spec/models/carrier_type_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.1/spec/models/carrier_type_spec.rb
enju_biblio-0.2.1 spec/models/carrier_type_spec.rb