Sha256: c9aa3de36501e2eba37e77c759a0cb8a25a312ef3b4d42b0ec773f8fa892b3ab

Contents?: true

Size: 505 Bytes

Versions: 10

Compression:

Stored size: 505 Bytes

Contents

# frozen_string_literal: true
require 'rails_helper'
require 'hyrax/specs/shared_specs/hydra_works'

RSpec.describe Collection do
  subject(:collection) { described_class.new }

  # TODO: This is temporarily reverting Collection to an ActiveFedora::Base object
  #       so the application will load.
  # it_behaves_like 'a Hyrax::PcdmCollection'

  describe '#human_readable_type' do
    it 'has a human readable type' do
      expect(collection.human_readable_type).to eq 'Collection'
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hyrax-5.0.1 .koppie/spec/models/collection_spec.rb
hyrax-5.0.0 .koppie/spec/models/collection_spec.rb
hyrax-5.0.0.rc3 .koppie/spec/models/collection_spec.rb
hyrax-5.0.0.rc2 .koppie/spec/models/collection_spec.rb
hyrax-5.0.0.rc1 .koppie/spec/models/collection_spec.rb
hyrax-4.0.0 .koppie/spec/models/collection_spec.rb
hyrax-4.0.0.rc3 .koppie/spec/models/collection_spec.rb
hyrax-4.0.0.rc2 .koppie/spec/models/collection_spec.rb
hyrax-4.0.0.rc1 .koppie/spec/models/collection_spec.rb
hyrax-4.0.0.beta2 .koppie/spec/models/collection_spec.rb