Skip to content

Commit

Permalink
misc test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
randalldfloyd committed Oct 15, 2024
1 parent 79be733 commit 0ccaf55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/hyrax/generic_works_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 0ccaf55

Please sign in to comment.