Commit 52282d32 authored by Thong Kuah's avatar Thong Kuah

Fix some keyword warnings found in this branch

parent b32bbb3c
...@@ -10,7 +10,7 @@ module EE ...@@ -10,7 +10,7 @@ module EE
def resolve(**args) def resolve(**args)
parsed_params = parse_arguments(args) parsed_params = parse_arguments(args)
super(parsed_params) super(**parsed_params)
end end
def ready?(**args) def ready?(**args)
......
...@@ -4,7 +4,7 @@ RSpec.shared_examples 'timebox(milestone or iteration) resource events creator' ...@@ -4,7 +4,7 @@ RSpec.shared_examples 'timebox(milestone or iteration) resource events creator'
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
context 'when milestone/iteration is added' do context 'when milestone/iteration is added' do
let(:service) { described_class.new(resource, user, add_timebox_args) } let(:service) { described_class.new(resource, user, **add_timebox_args) }
before do before do
set_timebox(timebox_event_class, timebox) set_timebox(timebox_event_class, timebox)
...@@ -18,7 +18,7 @@ RSpec.shared_examples 'timebox(milestone or iteration) resource events creator' ...@@ -18,7 +18,7 @@ RSpec.shared_examples 'timebox(milestone or iteration) resource events creator'
end end
context 'when milestone/iteration is removed' do context 'when milestone/iteration is removed' do
let(:service) { described_class.new(resource, user, remove_timebox_args) } let(:service) { described_class.new(resource, user, **remove_timebox_args) }
before do before do
set_timebox(timebox_event_class, nil) set_timebox(timebox_event_class, nil)
......
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