diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-07-22 08:25:59 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-07-22 08:25:59 +0530 |
commit | c3cbee10bd438a2d8ded30f1a11865693a3d3c6a (patch) | |
tree | a8a422b26138e7b867757d23be1cd6a7f74c7748 /features/project | |
parent | c9a56dac150baa0463fe96753b1f6a3a038e8e38 (diff) | |
download | gitlab-ce-c3cbee10bd438a2d8ded30f1a11865693a3d3c6a.tar.gz |
Add a spec for #20079.
The issue was fixed in 2ba5e62. The spec is going in separately just
so the fix could go in as soon as possible.
Diffstat (limited to 'features/project')
-rw-r--r-- | features/project/wiki.feature | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/features/project/wiki.feature b/features/project/wiki.feature index d4811b1ff54..63ce3ccb536 100644 --- a/features/project/wiki.feature +++ b/features/project/wiki.feature @@ -8,6 +8,12 @@ Feature: Project Wiki Given I create the Wiki Home page Then I should see the newly created wiki page + Scenario: Add new page with errors + Given I create the Wiki Home page with no content + Then I should see a "Content can't be blank" error message + When I create the Wiki Home page + Then I should see the newly created wiki page + Scenario: Pressing Cancel while editing a brand new Wiki Given I click on the Cancel button Then I should be redirected back to the Edit Home Wiki page |