Commit 041c6278 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'pl-ruby-kwargs-warnings-spec-projects-mr-resolver-specs' into 'master'

Fix kwargs deprecation warnings in project MR resolver specs

See merge request gitlab-org/gitlab!47789
parents b402e5aa b3276c7f
...@@ -50,7 +50,7 @@ RSpec.describe Resolvers::ProjectMergeRequestsResolver do ...@@ -50,7 +50,7 @@ RSpec.describe Resolvers::ProjectMergeRequestsResolver do
end end
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 }) resolve(resolver, obj: project, args: args, ctx: { current_user: user })
end end
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