diff --git a/spec/controllers/admin/backups_controller_spec.rb b/spec/controllers/admin/backups_controller_spec.rb
index 4faeef1ea75..a16efe26070 100644
--- a/spec/controllers/admin/backups_controller_spec.rb
+++ b/spec/controllers/admin/backups_controller_spec.rb
@@ -66,9 +66,9 @@ describe Admin::BackupsController do
     describe ".create" do
 
       it "starts a backup" do
-        BackupRestore.expects(:backup!).with(@admin.id, { publish_to_message_bus: true, with_uploads: false })
+        BackupRestore.expects(:backup!).with(@admin.id, publish_to_message_bus: true, with_uploads: false, client_id: "foo")
 
-        xhr :post, :create, { with_uploads: false }
+        xhr :post, :create, with_uploads: false, client_id: "foo"
 
         expect(response).to be_success
       end
@@ -151,9 +151,9 @@ describe Admin::BackupsController do
     describe ".restore" do
 
       it "starts a restore" do
-        BackupRestore.expects(:restore!).with(@admin.id, backup_filename, true)
+        BackupRestore.expects(:restore!).with(@admin.id, filename: backup_filename, publish_to_message_bus: true, client_id: "foo")
 
-        xhr :post, :restore, id: backup_filename
+        xhr :post, :restore, id: backup_filename, client_id: "foo"
 
         expect(response).to be_success
       end