Commit 513b0e1d authored by Siddharth Asthana's avatar Siddharth Asthana

Fix Rails/SaveBang offenses

Changelog: other
EE: true
parent 749370c5
--- ---
Rails/SaveBang: Rails/SaveBang:
Exclude: Exclude:
- 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
- ee/spec/lib/ee/gitlab/checks/push_rules/commit_check_spec.rb - ee/spec/lib/ee/gitlab/checks/push_rules/commit_check_spec.rb
......
...@@ -13,8 +13,8 @@ RSpec.describe 'Fog::Storage::GoogleXML::File' do ...@@ -13,8 +13,8 @@ RSpec.describe 'Fog::Storage::GoogleXML::File' do
end end
let(:file) do let(:file) do
directory = storage.directories.create(key: 'data') directory = storage.directories.create(key: 'data') # rubocop:disable Rails/SaveBang
directory.files.create( directory.files.create( # rubocop:disable Rails/SaveBang
body: 'Hello World!', body: 'Hello World!',
key: 'hello_world.txt' key: 'hello_world.txt'
) )
......
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