Skip to content

Commit

Permalink
fixes wrap.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwatson78 authored and jeremyf committed Jan 22, 2024
1 parent 862dee3 commit 592cd06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/forms/hyrax/forms/admin/collection_type_form_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
let(:collection_type) { FactoryBot.create(:collection_type) }

# NOTE: Changed collection object to :pcdm_collection because the query used to find a collection_type's
# collections is tied to Hyrax::PcdmCollection, which :hyrax_collection doesn't parse to when that type of collection is created via FactoryBot.
# collections is tied to Hyrax::PcdmCollection, which :hyrax_collection doesn't parse to when that type
# of collection is created via FactoryBot.
before do
FactoryBot.valkyrie_create(:pcdm_collection, collection_type_gid: collection_type.to_global_id)
end
Expand Down

0 comments on commit 592cd06

Please sign in to comment.