Commit cbe0719c authored by Abdul Wadood's avatar Abdul Wadood Committed by Markus Koller

Fix Rails/SaveBang offenses in ee/spec/graphql

parent 9965db91
......@@ -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'
......
---
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
let(:vulnerable) { group }
before do
project.update(namespace: group)
project.update!(namespace: group)
end
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