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
cbe0719c
Commit
cbe0719c
authored
Apr 13, 2021
by
Abdul Wadood
Committed by
Markus Koller
Apr 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rails/SaveBang offenses in ee/spec/graphql
parent
9965db91
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-2
ee/changelogs/unreleased/rails-save-bang-ee-spec-graphql.yml
ee/changelogs/unreleased/rails-save-bang-ee-spec-graphql.yml
+5
-0
ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb
ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb
+1
-1
No files found.
.rubocop_manual_todo.yml
View file @
cbe0719c
...
...
@@ -46,8 +46,6 @@ Rails/SaveBang:
Exclude
:
-
'
ee/spec/controllers/projects/merge_requests_controller_spec.rb'
-
'
ee/spec/controllers/subscriptions_controller_spec.rb'
-
'
ee/spec/frontend/fixtures/analytics.rb'
-
'
ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb'
-
'
ee/spec/initializers/fog_google_https_private_urls_spec.rb'
-
'
ee/spec/lib/analytics/merge_request_metrics_calculator_spec.rb'
-
'
ee/spec/lib/ee/gitlab/auth/ldap/sync/group_spec.rb'
...
...
ee/changelogs/unreleased/rails-save-bang-ee-spec-graphql.yml
0 → 100644
View file @
cbe0719c
---
title
:
Fix Rails/SaveBang rubocop offenses in ee/spec/graphql
merge_request
:
58092
author
:
Abdul Wadood @abdulwd
type
:
fixed
ee/spec/graphql/resolvers/vulnerabilities_resolver_spec.rb
View file @
cbe0719c
...
...
@@ -142,7 +142,7 @@ RSpec.describe Resolvers::VulnerabilitiesResolver do
let
(
:vulnerable
)
{
group
}
before
do
project
.
update
(
namespace:
group
)
project
.
update
!
(
namespace:
group
)
end
it
'only returns vulnerabilities belonging to the given projects'
do
...
...
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