summaryrefslogtreecommitdiff
path: root/spec/support/helpers/snippet_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/snippet_helpers.rb')
-rw-r--r--spec/support/helpers/snippet_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/snippet_helpers.rb b/spec/support/helpers/snippet_helpers.rb
index de64ad7d3e2..1ec50bce070 100644
--- a/spec/support/helpers/snippet_helpers.rb
+++ b/spec/support/helpers/snippet_helpers.rb
@@ -8,7 +8,7 @@ module SnippetHelpers
def snippet_blob_file(blob)
{
"path" => blob.path,
- "raw_url" => gitlab_raw_snippet_blob_url(blob.container, blob.path)
+ "raw_url" => gitlab_raw_snippet_blob_url(blob.container, blob.path, host: 'localhost')
}
end
end