diff options
author | Micaël Bergeron <mbergeron@gitlab.com> | 2018-05-09 19:57:08 +0000 |
---|---|---|
committer | Micaël Bergeron <mbergeron@gitlab.com> | 2018-05-09 19:57:08 +0000 |
commit | fdfc20c3ff62559d6ae860a5a25a2b211c5f0edb (patch) | |
tree | 199006fc3efa47669cba9bd578aae3951dd60175 | |
parent | 59d3e84f0aa09dc41f91e271e3128dfb9613abfa (diff) | |
download | gitlab-ce-fdfc20c3ff62559d6ae860a5a25a2b211c5f0edb.tar.gz |
apply feedback
-rw-r--r-- | spec/uploaders/workers/object_storage/migrate_uploads_worker_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/uploaders/workers/object_storage/migrate_uploads_worker_spec.rb b/spec/uploaders/workers/object_storage/migrate_uploads_worker_spec.rb index f645f052c35..aed62f97448 100644 --- a/spec/uploaders/workers/object_storage/migrate_uploads_worker_spec.rb +++ b/spec/uploaders/workers/object_storage/migrate_uploads_worker_spec.rb @@ -11,7 +11,7 @@ describe ObjectStorage::MigrateUploadsWorker, :sidekiq do let(:uploads) { Upload.all } let(:to_store) { ObjectStorage::Store::REMOTE } - shared_examples "correctly" do + shared_examples "uploads migration worker" do describe '.enqueue!' do def enqueue! described_class.enqueue!(uploads, Project, mounted_as, to_store) @@ -122,7 +122,7 @@ describe ObjectStorage::MigrateUploadsWorker, :sidekiq do stub_uploads_object_storage(AvatarUploader) end - it_behaves_like "correctly" + it_behaves_like "uploads migration worker" end context "for FileUploader" do @@ -139,6 +139,6 @@ describe ObjectStorage::MigrateUploadsWorker, :sidekiq do end end - it_behaves_like "correctly" + it_behaves_like "uploads migration worker" end end |