diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-11-15 17:20:36 +0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-11-15 17:20:36 +0300 |
commit | f4c7fea613ad996d855180c9c25f3d0cdca5121a (patch) | |
tree | 615bd4be2bbad6dd809643a0fa94078ac5bbe375 /spec | |
parent | a4072db0198896242886d22c644ed91c1016aa8d (diff) |
Fix dumping hashed storage based repository
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/project_wiki_spec.rb | 4 |
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') |