Skip to content

Commit 9db3b01

Browse files
committed
Converts collections in spec/tasks/rake_spec.rb.
1 parent 0ee0921 commit 9db3b01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/tasks/rake_spec.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@
109109
let(:other_collection_type) { FactoryBot.create(:collection_type) }
110110

111111
let(:collections_with_legacy_gids) do
112-
[FactoryBot.valkyrie_create(:hyrax_collection, collection_type_gid: "gid://internal/sometext/#{collection_type.id}"),
113-
FactoryBot.valkyrie_create(:hyrax_collection, collection_type_gid: "gid://internal/sometext/#{other_collection_type.id}")]
112+
[FactoryBot.valkyrie_create(:pcdm_collection, collection_type_gid: "gid://internal/sometext/#{collection_type.id}"),
113+
FactoryBot.valkyrie_create(:pcdm_collection, collection_type_gid: "gid://internal/sometext/#{other_collection_type.id}")]
114114
end
115115

116116
before do
117117
3.times do
118-
FactoryBot.valkyrie_create(:hyrax_collection, collection_type_gid: collection_type.to_global_id)
119-
FactoryBot.valkyrie_create(:hyrax_collection, collection_type_gid: other_collection_type.to_global_id)
118+
FactoryBot.valkyrie_create(:pcdm_collection, collection_type_gid: collection_type.to_global_id)
119+
FactoryBot.valkyrie_create(:pcdm_collection, collection_type_gid: other_collection_type.to_global_id)
120120
end
121121
end
122122

0 commit comments

Comments
 (0)