From 0ccaf55ed7ce7fb36e5a19fbdb5b5ced43f5e32e 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..78984966f2 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: {