diff options
Diffstat (limited to 'spec/lib/gitlab/checks')
-rw-r--r-- | spec/lib/gitlab/checks/branch_check_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/change_access_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/diff_check_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/force_push_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/lfs_check_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/lfs_integrity_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/project_created_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/project_moved_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/push_check_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/push_file_count_check_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/snippet_check_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/tag_check_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/gitlab/checks/timed_logger_spec.rb | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/spec/lib/gitlab/checks/branch_check_spec.rb b/spec/lib/gitlab/checks/branch_check_spec.rb index fd7eaa1603f..92452727017 100644 --- a/spec/lib/gitlab/checks/branch_check_spec.rb +++ b/spec/lib/gitlab/checks/branch_check_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::BranchCheck do +RSpec.describe Gitlab::Checks::BranchCheck do include_context 'change access checks context' describe '#validate!' do diff --git a/spec/lib/gitlab/checks/change_access_spec.rb b/spec/lib/gitlab/checks/change_access_spec.rb index dfc8c59fd74..87936d19239 100644 --- a/spec/lib/gitlab/checks/change_access_spec.rb +++ b/spec/lib/gitlab/checks/change_access_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::ChangeAccess do +RSpec.describe Gitlab::Checks::ChangeAccess do describe '#exec' do include_context 'change access checks context' diff --git a/spec/lib/gitlab/checks/diff_check_spec.rb b/spec/lib/gitlab/checks/diff_check_spec.rb index 467b4ed3a21..2cca0aed9c6 100644 --- a/spec/lib/gitlab/checks/diff_check_spec.rb +++ b/spec/lib/gitlab/checks/diff_check_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::DiffCheck do +RSpec.describe Gitlab::Checks::DiffCheck do include_context 'change access checks context' describe '#validate!' do diff --git a/spec/lib/gitlab/checks/force_push_spec.rb b/spec/lib/gitlab/checks/force_push_spec.rb index 334dd8635a3..49e02fe5cec 100644 --- a/spec/lib/gitlab/checks/force_push_spec.rb +++ b/spec/lib/gitlab/checks/force_push_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::ForcePush do +RSpec.describe Gitlab::Checks::ForcePush do let_it_be(:project) { create(:project, :repository) } describe '.force_push?' do diff --git a/spec/lib/gitlab/checks/lfs_check_spec.rb b/spec/lib/gitlab/checks/lfs_check_spec.rb index c86481d1abe..713858e0e35 100644 --- a/spec/lib/gitlab/checks/lfs_check_spec.rb +++ b/spec/lib/gitlab/checks/lfs_check_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::LfsCheck do +RSpec.describe Gitlab::Checks::LfsCheck do include_context 'change access checks context' let(:blob_object) { project.repository.blob_at_branch('lfs', 'files/lfs/lfs_object.iso') } diff --git a/spec/lib/gitlab/checks/lfs_integrity_spec.rb b/spec/lib/gitlab/checks/lfs_integrity_spec.rb index 505f117034e..8fec702790c 100644 --- a/spec/lib/gitlab/checks/lfs_integrity_spec.rb +++ b/spec/lib/gitlab/checks/lfs_integrity_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::LfsIntegrity do +RSpec.describe Gitlab::Checks::LfsIntegrity do include ProjectForksHelper let!(:time_left) { 50 } diff --git a/spec/lib/gitlab/checks/project_created_spec.rb b/spec/lib/gitlab/checks/project_created_spec.rb index bbc97155374..f099f19b061 100644 --- a/spec/lib/gitlab/checks/project_created_spec.rb +++ b/spec/lib/gitlab/checks/project_created_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::ProjectCreated, :clean_gitlab_redis_shared_state do +RSpec.describe Gitlab::Checks::ProjectCreated, :clean_gitlab_redis_shared_state do let_it_be(:user) { create(:user) } let_it_be(:project) { create(:project, :repository, namespace: user.namespace) } let(:protocol) { 'http' } diff --git a/spec/lib/gitlab/checks/project_moved_spec.rb b/spec/lib/gitlab/checks/project_moved_spec.rb index 1d1d6211088..e15fa90443b 100644 --- a/spec/lib/gitlab/checks/project_moved_spec.rb +++ b/spec/lib/gitlab/checks/project_moved_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::ProjectMoved, :clean_gitlab_redis_shared_state do +RSpec.describe Gitlab::Checks::ProjectMoved, :clean_gitlab_redis_shared_state do let_it_be(:user) { create(:user) } let_it_be(:project) { create(:project, :repository, :wiki_repo, namespace: user.namespace) } let(:repository) { project.repository } diff --git a/spec/lib/gitlab/checks/push_check_spec.rb b/spec/lib/gitlab/checks/push_check_spec.rb index 857d71732fe..45ab13cf0cf 100644 --- a/spec/lib/gitlab/checks/push_check_spec.rb +++ b/spec/lib/gitlab/checks/push_check_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::PushCheck do +RSpec.describe Gitlab::Checks::PushCheck do include_context 'change access checks context' describe '#validate!' do diff --git a/spec/lib/gitlab/checks/push_file_count_check_spec.rb b/spec/lib/gitlab/checks/push_file_count_check_spec.rb index e05102a9ce8..e05070e8f35 100644 --- a/spec/lib/gitlab/checks/push_file_count_check_spec.rb +++ b/spec/lib/gitlab/checks/push_file_count_check_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::PushFileCountCheck do +RSpec.describe Gitlab::Checks::PushFileCountCheck do let(:snippet) { create(:personal_snippet, :repository) } let(:changes) { { oldrev: oldrev, newrev: newrev, ref: ref } } let(:timeout) { Gitlab::GitAccess::INTERNAL_TIMEOUT } diff --git a/spec/lib/gitlab/checks/snippet_check_spec.rb b/spec/lib/gitlab/checks/snippet_check_spec.rb index 3eee5ccfc0a..2c027486bc9 100644 --- a/spec/lib/gitlab/checks/snippet_check_spec.rb +++ b/spec/lib/gitlab/checks/snippet_check_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::SnippetCheck do +RSpec.describe Gitlab::Checks::SnippetCheck do include_context 'change access checks context' let(:snippet) { create(:personal_snippet, :repository) } diff --git a/spec/lib/gitlab/checks/tag_check_spec.rb b/spec/lib/gitlab/checks/tag_check_spec.rb index 0c94171646e..e2e7d9c9648 100644 --- a/spec/lib/gitlab/checks/tag_check_spec.rb +++ b/spec/lib/gitlab/checks/tag_check_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::TagCheck do +RSpec.describe Gitlab::Checks::TagCheck do include_context 'change access checks context' describe '#validate!' do diff --git a/spec/lib/gitlab/checks/timed_logger_spec.rb b/spec/lib/gitlab/checks/timed_logger_spec.rb index 0ed3940c038..6c488212eca 100644 --- a/spec/lib/gitlab/checks/timed_logger_spec.rb +++ b/spec/lib/gitlab/checks/timed_logger_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe Gitlab::Checks::TimedLogger do +RSpec.describe Gitlab::Checks::TimedLogger do let!(:timeout) { 50.seconds } let!(:start) { Time.now } let!(:ref) { "bar" } |