Commit 2a71e37a authored by Igor Drozdov's avatar Igor Drozdov

Merge branch '257438-fj-fix-deprecation-warnings-routing-helpers-specs' into 'master'

Fix Ruby 2.7 deprecation warnings routing helpers specs

See merge request gitlab-org/gitlab!43528
parents 8382b253 8fb72d0e
...@@ -187,7 +187,7 @@ RSpec.describe GitlabRoutingHelper do ...@@ -187,7 +187,7 @@ RSpec.describe GitlabRoutingHelper do
let(:ref) { 'test-ref' } let(:ref) { 'test-ref' }
let(:args) { {} } let(:args) { {} }
subject { gitlab_raw_snippet_blob_path(snippet, blob.path, ref, args) } subject { gitlab_raw_snippet_blob_path(snippet, blob.path, ref, **args) }
it_behaves_like 'snippet blob raw path' it_behaves_like 'snippet blob raw path'
...@@ -222,7 +222,7 @@ RSpec.describe GitlabRoutingHelper do ...@@ -222,7 +222,7 @@ RSpec.describe GitlabRoutingHelper do
let(:ref) { 'snippet-test-ref' } let(:ref) { 'snippet-test-ref' }
let(:args) { {} } let(:args) { {} }
subject { gitlab_raw_snippet_blob_url(snippet, blob.path, ref, args) } subject { gitlab_raw_snippet_blob_url(snippet, blob.path, ref, **args) }
it_behaves_like 'snippet blob raw url' it_behaves_like 'snippet blob raw url'
......
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