From 1075cbcdf27459dec23b2b80ef58dde2f08d1068 Mon Sep 17 00:00:00 2001 From: Randall Floyd Date: Tue, 15 Oct 2024 10:13:36 -0400 Subject: [PATCH] misc test fixes --- spec/controllers/hyrax/generic_works_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/hyrax/generic_works_controller_spec.rb b/spec/controllers/hyrax/generic_works_controller_spec.rb index 15820ecf6e..38c3c1b468 100644 --- a/spec/controllers/hyrax/generic_works_controller_spec.rb +++ b/spec/controllers/hyrax/generic_works_controller_spec.rb @@ -379,7 +379,7 @@ # makes one work, two file sets and calls ImportUrlJob twice. expect(actor).to receive(:create).with(Hyrax::Actors::Environment) do |env| expect(env.attributes['uploaded_files']).to eq [] - expect(env.attributes['remote_files']).to eq browse_everything_params.values + expect(env.attributes['remote_files'].map! { |v| v.permit!.to_h }).to eq browse_everything_params.values end post :create, params: {