diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2016-04-01 05:22:22 -0300 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2016-04-06 03:13:46 -0300 |
commit | 22055e10580ae93c2cb87956eefba0a06e9b50d0 (patch) | |
tree | 49691215a4fd7c001368f34277f0885ddb2915fa /spec/features/markdown_spec.rb | |
parent | 61fe0a23977749b0a5dba41ca26101b4a03de720 (diff) | |
download | gitlab-ce-22055e10580ae93c2cb87956eefba0a06e9b50d0.tar.gz |
Fix a few edited references from WikiLinkFilter and specs
Diffstat (limited to 'spec/features/markdown_spec.rb')
-rw-r--r-- | spec/features/markdown_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/features/markdown_spec.rb b/spec/features/markdown_spec.rb index 12fd8d37210..5149ce9cf2f 100644 --- a/spec/features/markdown_spec.rb +++ b/spec/features/markdown_spec.rb @@ -230,6 +230,7 @@ describe 'GitLab Markdown', feature: true do file = Gollum::File.new(@project_wiki.wiki) expect(file).to receive(:path).and_return('images/example.jpg') expect(@project_wiki).to receive(:find_file).with('images/example.jpg').and_return(file) + allow(@project_wiki).to receive(:wiki_base_path) { '/namespace1/gitlabhq/wikis' } @html = markdown(@feat.raw_markdown, { pipeline: :wiki, project_wiki: @project_wiki }) end |