diff options
author | wendy0402 <wendykurniawan92@gmail.com> | 2017-07-23 11:19:10 +0300 |
---|---|---|
committer | wendy0402 <wendykurniawan92@gmail.com> | 2017-08-03 03:38:11 +0300 |
commit | 29be4e0f58622aea146aa8c362eb30c08b082839 (patch) | |
tree | 891c69a2f8795a9d40528a37203936436e9014b2 /spec/services/wiki_pages | |
parent | 43c015472b5f85f7f345c825687a562f4cb3a13d (diff) |
Allow wiki pages to be renamed in the UI
Diffstat (limited to 'spec/services/wiki_pages')
-rw-r--r-- | spec/services/wiki_pages/update_service_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/services/wiki_pages/update_service_spec.rb b/spec/services/wiki_pages/update_service_spec.rb index a672c84034b..ec3613f74f7 100644 --- a/spec/services/wiki_pages/update_service_spec.rb +++ b/spec/services/wiki_pages/update_service_spec.rb @@ -9,7 +9,8 @@ describe WikiPages::UpdateService do { content: 'New content for wiki page', format: 'markdown', - message: 'New wiki message' + message: 'New wiki message', + title: 'New Title' } end @@ -27,6 +28,7 @@ describe WikiPages::UpdateService do expect(updated_page.message).to eq(opts[:message]) expect(updated_page.content).to eq(opts[:content]) expect(updated_page.format).to eq(opts[:format].to_sym) + expect(updated_page.title).to eq(opts[:title]) end it 'executes webhooks' do |