Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 22 lines (19 sloc) 0.837 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Feature: Publish blog content
In order to make blog content available to the public
As an admin user
I want to publish blog content

Scenario: revert a post to previous version
Given I am logged in as "admin" user "admin"
And the post "Pending Post" has a revision history
And I am on the blog post page for "Pending Post"
When I follow "Revision History"
Then I should be on the blog post revisions page for "Pending Post"
When I follow "Revert"
Then I should see "Reverted to"
And I should be on the blog post page for "Pending Post"

Scenario: publish a post
Given I am logged in as "admin" user "admin"
And I am on the blog post page for "Pending Post"
When I follow "Publish"
Then I should see "Published post: Pending Post"
And the post "Pending Post" should be public
Something went wrong with that request. Please try again.