Sha256: b9d1b2c715d42fd034bf9e1216ecbdcd3f5effa4227877e84244c8af412fab62

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

require 'spec_helper'

# Core Metadata Spec Tests
RSpec.describe NewspaperWorks::PlaceOfPublicationBehavior do
  class NewspaperishWork < ActiveFedora::Base
    include ::Hyrax::WorkBehavior
    include NewspaperWorks::NewspaperCoreMetadata
    include ::Hyrax::BasicMetadata
    include NewspaperWorks::PlaceOfPublicationBehavior
  end

  let(:work) { NewspaperishWork.new }

  it 'has controlled properties' do
    expect(work.controlled_properties).to eq([:place_of_publication])
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newspaper_works-1.0.1 spec/models/concerns/newspaper_works/place_of_publication_behavior_spec.rb
newspaper_works-1.0.0 spec/models/concerns/newspaper_works/place_of_publication_behavior_spec.rb
newspaper_works-0.1.0 spec/models/concerns/newspaper_works/place_of_publication_behavior_spec.rb