Commit b3276c7f authored by Peter Leitzen's avatar Peter Leitzen

Fix kwargs deprecation warnings in project MR resolver specs

This commit fixes warnings like:

Passing the keyword argument as the last hash parameter is deprecated
parent 622b0386
......@@ -50,7 +50,7 @@ RSpec.describe Resolvers::ProjectMergeRequestsResolver do
end
end
def resolve_mr(project, args, resolver: described_class, user: current_user)
def resolve_mr(project, resolver: described_class, user: current_user, **args)
resolve(resolver, obj: project, args: args, ctx: { current_user: user })
end
end
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