summaryrefslogtreecommitdiff
path: root/spec/requests/api/wikis_spec.rb
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2019-01-15 08:59:17 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2019-01-15 09:02:00 +0100
commit96a49c79aa16e2d67063474a6a63920346542da4 (patch)
tree2c1b2fe6e29835ac34397a37b8353fa9438f1b3b /spec/requests/api/wikis_spec.rb
parent2abbfda301cdb6f1360800b5db203b10debeaffa (diff)
downloadgitlab-ce-96a49c79aa16e2d67063474a6a63920346542da4.tar.gz
API: Support dots in wiki slugs
Diffstat (limited to 'spec/requests/api/wikis_spec.rb')
-rw-r--r--spec/requests/api/wikis_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/wikis_spec.rb b/spec/requests/api/wikis_spec.rb
index f5092e8e2b5..6109829aad1 100644
--- a/spec/requests/api/wikis_spec.rb
+++ b/spec/requests/api/wikis_spec.rb
@@ -22,7 +22,7 @@ describe API::Wikis do
context 'when wiki has pages' do
let!(:pages) do
[create(:wiki_page, wiki: project_wiki, attrs: { title: 'page1', content: 'content of page1' }),
- create(:wiki_page, wiki: project_wiki, attrs: { title: 'page2', content: 'content of page2' })]
+ create(:wiki_page, wiki: project_wiki, attrs: { title: 'page2.with.dot', content: 'content of page2' })]
end
it 'returns the list of wiki pages without content' do