Commit 0969b729 authored by Dmytro Zaporozhets (DZ)'s avatar Dmytro Zaporozhets (DZ)

Merge branch 'fix_more_keyword_warnings_4' into 'master'

Fix more keyword warnings

See merge request gitlab-org/gitlab!52302
parents b84a8773 bcf6aa92
......@@ -21,7 +21,7 @@ module Types
graphql_name(enum_mod.name) if use_name
description(enum_mod.description) if use_description
enum_mod.definition.each { |key, content| value(key.to_s.upcase, content) }
enum_mod.definition.each { |key, content| value(key.to_s.upcase, **content) }
end
def value(*args, **kwargs, &block)
......
......@@ -8,8 +8,8 @@ module EE
attr_accessor :total_geo_registries
def initialize(...)
super(...)
def initialize(**kwargs)
super
@total_geo_registries = 0
end
......
......@@ -16,7 +16,7 @@ RSpec.describe Mutations::IncidentManagement::OncallRotation::Destroy do
end
describe '#resolve' do
subject(:resolve) { mutation_for(project, current_user).resolve(args) }
subject(:resolve) { mutation_for(project, current_user).resolve(**args) }
context 'user has access to project' do
before do
......
......@@ -11,7 +11,7 @@ RSpec.describe ::IncidentManagement::OncallShifts::ReadService do
let_it_be(:current_user) { user_with_permissions }
let(:params) { { start_time: 15.minutes.since(rotation.starts_at), end_time: 3.weeks.since(rotation.starts_at) } }
let(:service) { described_class.new(rotation, current_user, params) }
let(:service) { described_class.new(rotation, current_user, **params) }
before_all do
project.add_reporter(user_with_permissions)
......
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