diff --git a/spec/workers/backup_job_spec.rb b/spec/workers/backup_job_spec.rb index 03e1c86713..3af5c10139 100644 --- a/spec/workers/backup_job_spec.rb +++ b/spec/workers/backup_job_spec.rb @@ -59,7 +59,7 @@ describe BackupJob, type: :model do let(:arguments) { [{ backup: backup, user: user, **opts }] } - let(:user) { FactoryBot.create :user } + let(:user) { FactoryBot.create :admin } before do previous_backup; backup; status # create