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
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2019-01-15 10:59:17 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2019-01-15 11:02:00 +0300
commit96a49c79aa16e2d67063474a6a63920346542da4 (patch)
tree2c1b2fe6e29835ac34397a37b8353fa9438f1b3b /spec/requests/api
parent2abbfda301cdb6f1360800b5db203b10debeaffa (diff)
API: Support dots in wiki slugs
Diffstat (limited to 'spec/requests/api')
-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