Fix Ruby 2.7 deprecation warnings routing helpers specs

parent 911ff9eb
...@@ -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