Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2017-11-15 17:20:36 +0300
committerGabriel Mazetto <brodock@gmail.com>2017-11-15 17:20:36 +0300
commitf4c7fea613ad996d855180c9c25f3d0cdca5121a (patch)
tree615bd4be2bbad6dd809643a0fa94078ac5bbe375 /spec
parenta4072db0198896242886d22c644ed91c1016aa8d (diff)
Fix dumping hashed storage based repository
Diffstat (limited to 'spec')
-rw-r--r--spec/models/project_wiki_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/models/project_wiki_spec.rb b/spec/models/project_wiki_spec.rb
index 3d46434fc27..929086305ba 100644
--- a/spec/models/project_wiki_spec.rb
+++ b/spec/models/project_wiki_spec.rb
@@ -10,6 +10,10 @@ describe ProjectWiki do
subject { project_wiki }
+ it { is_expected.to delegate_method(:empty?).to :pages }
+ it { is_expected.to delegate_method(:repository_storage_path).to :project }
+ it { is_expected.to delegate_method(:hashed_storage?).to :project }
+
describe "#path_with_namespace" do
it "returns the project path with namespace with the .wiki extension" do
expect(subject.path_with_namespace).to eq(project.full_path + '.wiki')