Merge branch 'use_gollum_wikis' of https://github.com/DanKnox/gitlabhq into DanKnox-use_gollum_wikis
Conflicts: app/views/layouts/project_resource.html.haml app/views/wikis/edit.html.haml app/views/wikis/pages.html.haml app/views/wikis/show.html.haml spec/features/gitlab_flavored_markdown_spec.rb
This commit is contained in:
commit
71ab011a17
30 changed files with 1252 additions and 86 deletions
|
@ -5,5 +5,32 @@ Feature: Project Wiki
|
|||
Given I visit project wiki page
|
||||
|
||||
Scenario: Add new page
|
||||
Given I create Wiki page
|
||||
Then I should see newly created wiki page
|
||||
Given I create the Wiki Home page
|
||||
Then I should see the newly created wiki page
|
||||
|
||||
Scenario: Edit existing page
|
||||
Given I have an existing Wiki page
|
||||
And I browse to that Wiki page
|
||||
And I click on the Edit button
|
||||
And I change the content
|
||||
Then I should see the updated content
|
||||
|
||||
Scenario: View page history
|
||||
Given I have an existing wiki page
|
||||
And That page has two revisions
|
||||
And I browse to that Wiki page
|
||||
And I click the History button
|
||||
Then I should see both revisions
|
||||
|
||||
Scenario: Destroy Wiki page
|
||||
Given I have an existing wiki page
|
||||
And I browse to that Wiki page
|
||||
And I click on the Edit button
|
||||
And I click on the "Delete this page" button
|
||||
Then The page should be deleted
|
||||
|
||||
Scenario: View all pages
|
||||
Given I have an existing wiki page
|
||||
And I browse to that Wiki page
|
||||
And I click on the "Pages" button
|
||||
Then I should see the existing page in the pages list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue