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
1f1339af
Commit
1f1339af
authored
Apr 12, 2021
by
Huzaifa Iftikhar
Committed by
James Lopez
Apr 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix EmptyLineAfterFinalLetItBe offenses in spec/graphql/types
parent
43310934
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
3 deletions
+9
-3
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-3
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-graphql-types.yml
...e-325836-fix-empty-line-after-let-it-be-graphql-types.yml
+5
-0
spec/graphql/types/admin/analytics/usage_trends/measurement_type_spec.rb
...pes/admin/analytics/usage_trends/measurement_type_spec.rb
+1
-0
spec/graphql/types/global_id_type_spec.rb
spec/graphql/types/global_id_type_spec.rb
+1
-0
spec/graphql/types/snippet_type_spec.rb
spec/graphql/types/snippet_type_spec.rb
+2
-0
No files found.
.rubocop_manual_todo.yml
View file @
1f1339af
...
...
@@ -719,9 +719,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
-
spec/graphql/resolvers/project_pipeline_resolver_spec.rb
-
spec/graphql/resolvers/project_pipelines_resolver_spec.rb
-
spec/graphql/resolvers/timelog_resolver_spec.rb
-
spec/graphql/types/admin/analytics/usage_trends/measurement_type_spec.rb
-
spec/graphql/types/global_id_type_spec.rb
-
spec/graphql/types/snippet_type_spec.rb
-
spec/helpers/blob_helper_spec.rb
-
spec/helpers/broadcast_messages_helper_spec.rb
-
spec/helpers/ci/runners_helper_spec.rb
...
...
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-graphql-types.yml
0 → 100644
View file @
1f1339af
---
title
:
Fix EmptyLineAfterFinalLetItBe offenses in spec/graphql/types
merge_request
:
58241
author
:
Huzaifa Iftikhar @huzaifaiftikhar
type
:
fixed
spec/graphql/types/admin/analytics/usage_trends/measurement_type_spec.rb
View file @
1f1339af
...
...
@@ -11,6 +11,7 @@ RSpec.describe GitlabSchema.types['UsageTrendsMeasurement'] do
describe
'authorization'
do
let_it_be
(
:measurement
)
{
create
(
:usage_trends_measurement
,
:project_count
)
}
let
(
:user
)
{
create
(
:user
)
}
let
(
:query
)
do
...
...
spec/graphql/types/global_id_type_spec.rb
View file @
1f1339af
...
...
@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec
.
describe
Types
::
GlobalIDType
do
let_it_be
(
:project
)
{
create
(
:project
)
}
let
(
:gid
)
{
project
.
to_global_id
}
it
'is has the correct name'
do
...
...
spec/graphql/types/snippet_type_spec.rb
View file @
1f1339af
...
...
@@ -161,6 +161,7 @@ RSpec.describe GitlabSchema.types['Snippet'] do
describe
'#blobs'
do
let_it_be
(
:snippet
)
{
create
(
:personal_snippet
,
:public
,
author:
user
)
}
let
(
:query_blobs
)
{
subject
.
dig
(
'data'
,
'snippets'
,
'nodes'
)[
0
].
dig
(
'blobs'
,
'nodes'
)
}
let
(
:paths
)
{
[]
}
let
(
:query
)
do
...
...
@@ -201,6 +202,7 @@ RSpec.describe GitlabSchema.types['Snippet'] do
context
'when snippet has repository'
do
let_it_be
(
:snippet
)
{
create
(
:personal_snippet
,
:repository
,
:public
,
author:
user
)
}
let
(
:blobs
)
{
snippet
.
blobs
}
it_behaves_like
'an array'
...
...
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