From eebfa01a44f3ef2ca607db2172fe200e138d8c9f Mon Sep 17 00:00:00 2001 From: James Smith Date: Wed, 22 Oct 2025 22:12:32 +0100 Subject: [PATCH] update model api test --- spec/requests/api/v0/models_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/requests/api/v0/models_spec.rb b/spec/requests/api/v0/models_spec.rb index 6f336af1a..6ed19afcc 100644 --- a/spec/requests/api/v0/models_spec.rb +++ b/spec/requests/api/v0/models_spec.rb @@ -117,13 +117,13 @@ describe "Models", :after_first_run, :multiuser do # rubocop:disable RSpec/Empty run_test! do # rubocop:disable RSpec/ExampleLength expect(ProcessUploadedFileJob).to have_been_enqueued.with( Library.first.id, - { + [{ id: "https://example.com/uploads/tus_id", storage: "cache", metadata: { filename: "test.stl" } - }, + }], name: "My New Model", owner: User.last, creator_id: nil,