summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-10-18 12:53:06 +0100
committerNick Thomas <nick@gitlab.com>2017-10-18 12:53:06 +0100
commit314e5b5f20889971fef092c26bcb675ac2af4b07 (patch)
tree700e58a1b4257881ef04267187b498a9138b7e62 /spec
parente4b465d746675238f65dea1c98bcf71e8e4b0805 (diff)
downloadgitlab-ce-314e5b5f20889971fef092c26bcb675ac2af4b07.tar.gz
Use wiki.disk_path
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/github_import/wiki_formatter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/github_import/wiki_formatter_spec.rb b/spec/lib/gitlab/github_import/wiki_formatter_spec.rb
index fcd90fab547..2662cc20b32 100644
--- a/spec/lib/gitlab/github_import/wiki_formatter_spec.rb
+++ b/spec/lib/gitlab/github_import/wiki_formatter_spec.rb
@@ -11,7 +11,7 @@ describe Gitlab::GithubImport::WikiFormatter do
describe '#disk_path' do
it 'appends .wiki to project path' do
- expect(wiki.disk_path).to eq project.disk_path + '.wiki'
+ expect(wiki.disk_path).to eq project.wiki.disk_path
end
end