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
d69b46aa
Commit
d69b46aa
authored
Apr 08, 2021
by
Huzaifa Iftikhar
Committed by
Markus Koller
Apr 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix EmptyLineAfterFinalLetItBe offenses in spec/lib/gitlab/graphql
parent
19a6094e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
6 deletions
+10
-6
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-6
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-gitlab-graphql.yml
...-325836-fix-empty-line-after-let-it-be-gitlab-graphql.yml
+5
-0
spec/lib/gitlab/graphql/batch_key_spec.rb
spec/lib/gitlab/graphql/batch_key_spec.rb
+1
-0
spec/lib/gitlab/graphql/loaders/batch_lfs_oid_loader_spec.rb
spec/lib/gitlab/graphql/loaders/batch_lfs_oid_loader_spec.rb
+1
-0
spec/lib/gitlab/graphql/markdown_field_spec.rb
spec/lib/gitlab/graphql/markdown_field_spec.rb
+1
-0
spec/lib/gitlab/graphql/pagination/keyset/connection_spec.rb
spec/lib/gitlab/graphql/pagination/keyset/connection_spec.rb
+1
-0
spec/lib/gitlab/graphql/pagination/keyset/last_items_spec.rb
spec/lib/gitlab/graphql/pagination/keyset/last_items_spec.rb
+1
-0
No files found.
.rubocop_manual_todo.yml
View file @
d69b46aa
...
...
@@ -1097,12 +1097,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
-
spec/lib/gitlab/github_import/importer/pull_request_review_importer_spec.rb
-
spec/lib/gitlab/github_import/milestone_finder_spec.rb
-
spec/lib/gitlab/gl_repository/repo_type_spec.rb
-
spec/lib/gitlab/graphql/batch_key_spec.rb
-
spec/lib/gitlab/graphql/docs/renderer_spec.rb
-
spec/lib/gitlab/graphql/loaders/batch_lfs_oid_loader_spec.rb
-
spec/lib/gitlab/graphql/markdown_field_spec.rb
-
spec/lib/gitlab/graphql/pagination/keyset/connection_spec.rb
-
spec/lib/gitlab/graphql/pagination/keyset/last_items_spec.rb
-
spec/lib/gitlab/group_search_results_spec.rb
-
spec/lib/gitlab/hook_data/issue_builder_spec.rb
-
spec/lib/gitlab/hook_data/merge_request_builder_spec.rb
...
...
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-gitlab-graphql.yml
0 → 100644
View file @
d69b46aa
---
title
:
Fix EmptyLineAfterFinalLetItBe offenses in spec/lib/gitlab/graphql
merge_request
:
58261
author
:
Huzaifa Iftikhar @huzaifaiftikhar
type
:
fixed
spec/lib/gitlab/graphql/batch_key_spec.rb
View file @
d69b46aa
...
...
@@ -6,6 +6,7 @@ require 'test_prof/recipes/rspec/let_it_be'
RSpec
.
describe
::
Gitlab
::
Graphql
::
BatchKey
do
let_it_be
(
:rect
)
{
Struct
.
new
(
:len
,
:width
)
}
let_it_be
(
:circle
)
{
Struct
.
new
(
:radius
)
}
let
(
:lookahead
)
{
nil
}
let
(
:object
)
{
rect
.
new
(
2
,
3
)
}
...
...
spec/lib/gitlab/graphql/loaders/batch_lfs_oid_loader_spec.rb
View file @
d69b46aa
...
...
@@ -6,6 +6,7 @@ RSpec.describe Gitlab::Graphql::Loaders::BatchLfsOidLoader do
include
GraphqlHelpers
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:repository
)
{
project
.
repository
}
let
(
:blob
)
{
Gitlab
::
Graphql
::
Representation
::
TreeEntry
.
new
(
repository
.
blob_at
(
'master'
,
'files/lfs/lfs_object.iso'
),
repository
)
}
let
(
:otherblob
)
{
Gitlab
::
Graphql
::
Representation
::
TreeEntry
.
new
(
repository
.
blob_at
(
'master'
,
'README'
),
repository
)
}
...
...
spec/lib/gitlab/graphql/markdown_field_spec.rb
View file @
d69b46aa
...
...
@@ -57,6 +57,7 @@ RSpec.describe Gitlab::Graphql::MarkdownField do
describe
'basic verification that references work'
do
let_it_be
(
:project
)
{
create
(
:project
,
:public
)
}
let
(
:issue
)
{
create
(
:issue
,
project:
project
)
}
let
(
:note
)
{
build
(
:note
,
note:
"Referencing
#{
issue
.
to_reference
(
full:
true
)
}
"
)
}
...
...
spec/lib/gitlab/graphql/pagination/keyset/connection_spec.rb
View file @
d69b46aa
...
...
@@ -337,6 +337,7 @@ RSpec.describe Gitlab::Graphql::Pagination::Keyset::Connection do
describe
'#nodes'
do
let_it_be
(
:all_nodes
)
{
create_list
(
:project
,
5
)
}
let
(
:paged_nodes
)
{
subject
.
nodes
}
it_behaves_like
'connection with paged nodes'
do
...
...
spec/lib/gitlab/graphql/pagination/keyset/last_items_spec.rb
View file @
d69b46aa
...
...
@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec
.
describe
Gitlab
::
Graphql
::
Pagination
::
Keyset
::
LastItems
do
let_it_be
(
:merge_request
)
{
create
(
:merge_request
)
}
let
(
:scope
)
{
MergeRequest
.
order_merged_at_asc
}
subject
{
described_class
.
take_items
(
*
args
)
}
...
...
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