diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-26 12:08:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-26 12:08:59 +0300 |
commit | 2f47b6d8e1cf97b3a0797fe9f249aa1ae38fc5a1 (patch) | |
tree | 7ed93e59215362d23b8f0827237a4b1e89fd2d1c /spec/workers/repository_check | |
parent | d15cc2684ce38f737bb46deff4eefe86a1f77cf6 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/repository_check')
4 files changed, 4 insertions, 4 deletions
diff --git a/spec/workers/repository_check/batch_worker_spec.rb b/spec/workers/repository_check/batch_worker_spec.rb index 12e7d1879d0..643b55af573 100644 --- a/spec/workers/repository_check/batch_worker_spec.rb +++ b/spec/workers/repository_check/batch_worker_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe RepositoryCheck::BatchWorker do +RSpec.describe RepositoryCheck::BatchWorker do let(:shard_name) { 'default' } subject { described_class.new } diff --git a/spec/workers/repository_check/clear_worker_spec.rb b/spec/workers/repository_check/clear_worker_spec.rb index 40cf6abf508..b5f09e8a05f 100644 --- a/spec/workers/repository_check/clear_worker_spec.rb +++ b/spec/workers/repository_check/clear_worker_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe RepositoryCheck::ClearWorker do +RSpec.describe RepositoryCheck::ClearWorker do it 'clears repository check columns' do project = create(:project) project.update_columns( diff --git a/spec/workers/repository_check/dispatch_worker_spec.rb b/spec/workers/repository_check/dispatch_worker_spec.rb index e4bb0bf4046..5e1bc76ec8e 100644 --- a/spec/workers/repository_check/dispatch_worker_spec.rb +++ b/spec/workers/repository_check/dispatch_worker_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe RepositoryCheck::DispatchWorker do +RSpec.describe RepositoryCheck::DispatchWorker do subject { described_class.new } it 'does nothing when repository checks are disabled' do diff --git a/spec/workers/repository_check/single_repository_worker_spec.rb b/spec/workers/repository_check/single_repository_worker_spec.rb index 43998f912ef..28e3f43d374 100644 --- a/spec/workers/repository_check/single_repository_worker_spec.rb +++ b/spec/workers/repository_check/single_repository_worker_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'fileutils' -describe RepositoryCheck::SingleRepositoryWorker do +RSpec.describe RepositoryCheck::SingleRepositoryWorker do subject(:worker) { described_class.new } it 'skips when the project has no push events' do |