diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2019-01-15 10:59:17 +0300 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2019-01-15 11:02:00 +0300 |
commit | 96a49c79aa16e2d67063474a6a63920346542da4 (patch) | |
tree | 2c1b2fe6e29835ac34397a37b8353fa9438f1b3b /spec/requests/api/wikis_spec.rb | |
parent | 2abbfda301cdb6f1360800b5db203b10debeaffa (diff) |
API: Support dots in wiki slugs
Diffstat (limited to 'spec/requests/api/wikis_spec.rb')
-rw-r--r-- | spec/requests/api/wikis_spec.rb | 2 |
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 |