diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2017-04-05 12:58:27 +1100 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2017-04-05 12:58:27 +1100 |
commit | 7d43484d2935d53fc81ad8bc0d9f7e57a69de692 (patch) | |
tree | 66de5836225b805846b346422b7853b6cb87d3f9 /spec/features/projects/wiki/user_updates_wiki_page_spec.rb | |
parent | d9aca741155f456711e37ea68a28a46d349af698 (diff) | |
download | gitlab-ce-7d43484d2935d53fc81ad8bc0d9f7e57a69de692.tar.gz |
Fix wiki commit message
Diffstat (limited to 'spec/features/projects/wiki/user_updates_wiki_page_spec.rb')
-rw-r--r-- | spec/features/projects/wiki/user_updates_wiki_page_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/features/projects/wiki/user_updates_wiki_page_spec.rb b/spec/features/projects/wiki/user_updates_wiki_page_spec.rb index aedc0333cb9..86cf520ea80 100644 --- a/spec/features/projects/wiki/user_updates_wiki_page_spec.rb +++ b/spec/features/projects/wiki/user_updates_wiki_page_spec.rb @@ -19,6 +19,9 @@ feature 'Projects > Wiki > User updates wiki page', feature: true do scenario 'success when the wiki content is not empty' do click_link 'Edit' + # Commit message field should have correct value. + expect(page).to have_field('wiki[message]', with: 'Update home') + fill_in :wiki_content, with: 'My awesome wiki!' click_button 'Save changes' @@ -48,6 +51,9 @@ feature 'Projects > Wiki > User updates wiki page', feature: true do scenario 'the home page' do click_link 'Edit' + # Commit message field should have correct value. + expect(page).to have_field('wiki[message]', with: 'Update home') + fill_in :wiki_content, with: 'My awesome wiki!' click_button 'Save changes' |