Commit 1be02c83 authored by Thong Kuah's avatar Thong Kuah

Autocorrect keyword warnings in specs

parent 8038543a
......@@ -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