Skip to content

Commit

Permalink
☑️ Demonstrate error for #6702
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyf committed Feb 19, 2024
1 parent 715f599 commit 59db40d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions spec/forms/hyrax/forms/pcdm_collection_form_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# frozen_string_literal: true

require 'valkyrie/specs/shared_specs'
RSpec.describe Hyrax::Forms::PcdmCollectionForm do
let(:collection) { Hyrax::PcdmCollection.new(id: "123") }
subject(:form) { described_class.new(collection) }
subject(:change_set) { described_class.new(resource: resource) }
let(:resource) { Hyrax::PcdmCollection.new(id: "123") }

it_behaves_like 'a Valkyrie::ChangeSet'

describe '.required_fields' do
it 'lists required fields' do
Expand Down

0 comments on commit 59db40d

Please sign in to comment.