Commit 768ba4ce authored by Markus Koller's avatar Markus Koller

Merge branch 'rails-save-bang-ee-spec-graphql' into 'master'

Fix Rails/SaveBang offenses in ee/spec/graphql

See merge request gitlab-org/gitlab!58092
parents e5dfb288 cbe0719c
...@@ -46,8 +46,6 @@ Rails/SaveBang: ...@@ -46,8 +46,6 @@ Rails/SaveBang:
Exclude: Exclude:
- 'ee/spec/controllers/projects/merge_requests_controller_spec.rb' - 'ee/spec/controllers/projects/merge_requests_controller_spec.rb'
- 'ee/spec/controllers/subscriptions_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/initializers/fog_google_https_private_urls_spec.rb'
- 'ee/spec/lib/analytics/merge_request_metrics_calculator_spec.rb' - 'ee/spec/lib/analytics/merge_request_metrics_calculator_spec.rb'
- 'ee/spec/lib/ee/gitlab/auth/ldap/sync/group_spec.rb' - 'ee/spec/lib/ee/gitlab/auth/ldap/sync/group_spec.rb'
......
---
title: Fix Rails/SaveBang rubocop offenses in ee/spec/graphql
merge_request: 58092
author: Abdul Wadood @abdulwd
type: fixed
...@@ -142,7 +142,7 @@ RSpec.describe Resolvers::VulnerabilitiesResolver do ...@@ -142,7 +142,7 @@ RSpec.describe Resolvers::VulnerabilitiesResolver do
let(:vulnerable) { group } let(:vulnerable) { group }
before do before do
project.update(namespace: group) project.update!(namespace: group)
end end
it 'only returns vulnerabilities belonging to the given projects' do it 'only returns vulnerabilities belonging to the given projects' do
......
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