Commit 57033ea2 authored by Huzaifa Iftikhar's avatar Huzaifa Iftikhar Committed by Michael Kozono

Fix EmptyLineAfterFinalLetItBe offenses in spec/lib/gitlab/git

parent dd86a11c
...@@ -1082,12 +1082,6 @@ RSpec/EmptyLineAfterFinalLetItBe: ...@@ -1082,12 +1082,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- spec/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers_spec.rb - spec/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers_spec.rb
- spec/lib/gitlab/deploy_key_access_spec.rb - spec/lib/gitlab/deploy_key_access_spec.rb
- spec/lib/gitlab/email/handler/service_desk_handler_spec.rb - spec/lib/gitlab/email/handler/service_desk_handler_spec.rb
- spec/lib/gitlab/git/lfs_changes_spec.rb
- spec/lib/gitlab/git/merge_base_spec.rb
- spec/lib/gitlab/git/push_spec.rb
- spec/lib/gitlab/git_access_design_spec.rb
- spec/lib/gitlab/git_access_project_spec.rb
- spec/lib/gitlab/git_access_wiki_spec.rb
- spec/lib/gitlab/gitaly_client/operation_service_spec.rb - spec/lib/gitlab/gitaly_client/operation_service_spec.rb
- spec/lib/gitlab/github_import/importer/pull_request_merged_by_importer_spec.rb - spec/lib/gitlab/github_import/importer/pull_request_merged_by_importer_spec.rb
- spec/lib/gitlab/github_import/importer/pull_request_review_importer_spec.rb - spec/lib/gitlab/github_import/importer/pull_request_review_importer_spec.rb
......
---
title: Fix EmptyLineAfterFinalLetItBe offenses in spec/lib/gitlab/git
merge_request: 58254
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
...@@ -4,6 +4,7 @@ require 'spec_helper' ...@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe Gitlab::Git::LfsChanges do RSpec.describe Gitlab::Git::LfsChanges do
let_it_be(:project) { create(:project, :repository) } let_it_be(:project) { create(:project, :repository) }
let(:newrev) { '54fcc214b94e78d7a41a9a8fe6d87a5e59500e51' } let(:newrev) { '54fcc214b94e78d7a41a9a8fe6d87a5e59500e51' }
let(:blob_object_id) { '0c304a93cb8430108629bbbcaa27db3343299bc0' } let(:blob_object_id) { '0c304a93cb8430108629bbbcaa27db3343299bc0' }
......
...@@ -4,6 +4,7 @@ require 'spec_helper' ...@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe Gitlab::Git::MergeBase do RSpec.describe Gitlab::Git::MergeBase do
let_it_be(:project) { create(:project, :repository) } let_it_be(:project) { create(:project, :repository) }
let(:repository) { project.repository } let(:repository) { project.repository }
subject(:merge_base) { described_class.new(repository, refs) } subject(:merge_base) { described_class.new(repository, refs) }
......
...@@ -4,6 +4,7 @@ require 'spec_helper' ...@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe Gitlab::Git::Push do RSpec.describe Gitlab::Git::Push do
let_it_be(:project) { create(:project, :repository) } let_it_be(:project) { create(:project, :repository) }
let(:oldrev) { project.commit('HEAD~2').id } let(:oldrev) { project.commit('HEAD~2').id }
let(:newrev) { project.commit.id } let(:newrev) { project.commit.id }
let(:ref) { 'refs/heads/some-branch' } let(:ref) { 'refs/heads/some-branch' }
......
...@@ -6,6 +6,7 @@ RSpec.describe Gitlab::GitAccessDesign do ...@@ -6,6 +6,7 @@ RSpec.describe Gitlab::GitAccessDesign do
let_it_be(:project) { create(:project) } let_it_be(:project) { create(:project) }
let_it_be(:user) { project.owner } let_it_be(:user) { project.owner }
let(:protocol) { 'web' } let(:protocol) { 'web' }
let(:actor) { user } let(:actor) { user }
......
...@@ -5,6 +5,7 @@ require 'spec_helper' ...@@ -5,6 +5,7 @@ require 'spec_helper'
RSpec.describe Gitlab::GitAccessProject do RSpec.describe Gitlab::GitAccessProject do
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project, :repository) } let_it_be(:project) { create(:project, :repository) }
let(:container) { project } let(:container) { project }
let(:actor) { user } let(:actor) { user }
let(:project_path) { project.path } let(:project_path) { project.path }
......
...@@ -6,6 +6,7 @@ RSpec.describe Gitlab::GitAccessWiki do ...@@ -6,6 +6,7 @@ RSpec.describe Gitlab::GitAccessWiki do
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project, :wiki_repo) } let_it_be(:project) { create(:project, :wiki_repo) }
let_it_be(:wiki) { create(:project_wiki, project: project) } let_it_be(:wiki) { create(:project_wiki, project: project) }
let(:changes) { ['6f6d7e7ed 570e7b2ab refs/heads/master'] } let(:changes) { ['6f6d7e7ed 570e7b2ab refs/heads/master'] }
let(:authentication_abilities) { %i[read_project download_code push_code] } let(:authentication_abilities) { %i[read_project download_code push_code] }
let(:redirected_path) { nil } let(:redirected_path) { nil }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment