diff options
Diffstat (limited to 'spec/models/upload_spec.rb')
-rw-r--r-- | spec/models/upload_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/upload_spec.rb b/spec/models/upload_spec.rb index 27e2060a94b..ff38edb73b6 100644 --- a/spec/models/upload_spec.rb +++ b/spec/models/upload_spec.rb @@ -266,7 +266,7 @@ RSpec.describe Upload do it 'updates project statistics when upload is added' do expect(ProjectCacheWorker).to receive(:perform_async) - .with(project.id, [], [:uploads_size]) + .with(project.id, [], ['uploads_size']) subject.save! end @@ -275,7 +275,7 @@ RSpec.describe Upload do subject.save! expect(ProjectCacheWorker).to receive(:perform_async) - .with(project.id, [], [:uploads_size]) + .with(project.id, [], ['uploads_size']) subject.destroy! end |