Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
57033ea2
Commit
57033ea2
authored
Apr 21, 2021
by
Huzaifa Iftikhar
Committed by
Michael Kozono
Apr 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix EmptyLineAfterFinalLetItBe offenses in spec/lib/gitlab/git
parent
dd86a11c
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
6 deletions
+11
-6
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-6
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-gitlab-git.yml
...ssue-325836-fix-empty-line-after-let-it-be-gitlab-git.yml
+5
-0
spec/lib/gitlab/git/lfs_changes_spec.rb
spec/lib/gitlab/git/lfs_changes_spec.rb
+1
-0
spec/lib/gitlab/git/merge_base_spec.rb
spec/lib/gitlab/git/merge_base_spec.rb
+1
-0
spec/lib/gitlab/git/push_spec.rb
spec/lib/gitlab/git/push_spec.rb
+1
-0
spec/lib/gitlab/git_access_design_spec.rb
spec/lib/gitlab/git_access_design_spec.rb
+1
-0
spec/lib/gitlab/git_access_project_spec.rb
spec/lib/gitlab/git_access_project_spec.rb
+1
-0
spec/lib/gitlab/git_access_wiki_spec.rb
spec/lib/gitlab/git_access_wiki_spec.rb
+1
-0
No files found.
.rubocop_manual_todo.yml
View file @
57033ea2
...
@@ -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
...
...
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-gitlab-git.yml
0 → 100644
View file @
57033ea2
---
title
:
Fix EmptyLineAfterFinalLetItBe offenses in spec/lib/gitlab/git
merge_request
:
58254
author
:
Huzaifa Iftikhar @huzaifaiftikhar
type
:
fixed
spec/lib/gitlab/git/lfs_changes_spec.rb
View file @
57033ea2
...
@@ -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'
}
...
...
spec/lib/gitlab/git/merge_base_spec.rb
View file @
57033ea2
...
@@ -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
)
}
...
...
spec/lib/gitlab/git/push_spec.rb
View file @
57033ea2
...
@@ -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'
}
...
...
spec/lib/gitlab/git_access_design_spec.rb
View file @
57033ea2
...
@@ -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
}
...
...
spec/lib/gitlab/git_access_project_spec.rb
View file @
57033ea2
...
@@ -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
}
...
...
spec/lib/gitlab/git_access_wiki_spec.rb
View file @
57033ea2
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment