diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-08-29 05:55:07 +0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-08-29 05:55:07 +0300 |
commit | cb584af22c26aa9e189812d36df25f8e2bcb6c07 (patch) | |
tree | 68a4f7d8599afd06c302b8c1015f29fa3ba893b9 | |
parent | 8409b41e35000fb6b69d7a3559b85d2f481cd475 (diff) |
Fix wiki_formatter_spec
-rw-r--r-- | spec/lib/gitlab/github_import/wiki_formatter_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/github_import/wiki_formatter_spec.rb b/spec/lib/gitlab/github_import/wiki_formatter_spec.rb index 1bd29b8a563..875c1a57906 100644 --- a/spec/lib/gitlab/github_import/wiki_formatter_spec.rb +++ b/spec/lib/gitlab/github_import/wiki_formatter_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe Gitlab::GithubImport::WikiFormatter, lib: true do let(:project) do create(:project, - namespace: create(:namespace, path: 'gitlabhq'), + namespace: create(:namespace), import_url: 'https://xxx@github.com/gitlabhq/sample.gitlabhq.git') end @@ -11,7 +11,7 @@ describe Gitlab::GithubImport::WikiFormatter, lib: true do describe '#path_with_namespace' do it 'appends .wiki to project path' do - expect(wiki.path_with_namespace).to eq 'gitlabhq/gitlabhq.wiki' + expect(wiki.path_with_namespace).to eq "#{project.full_path}.wiki" end end |