Skip to content

Instantly share code, notes, and snippets.

@patricksrobertson
Created January 11, 2011 18:11
Show Gist options
  • Save patricksrobertson/774825 to your computer and use it in GitHub Desktop.
Save patricksrobertson/774825 to your computer and use it in GitHub Desktop.
Publishing a Video Paper
Feature:
In order to better utilize Video Paper Builder
As an owner of a Video Paper
I want to be able to publish and un-publish Video Papers.
Scenario: Publishing "Unpublished Paper" makes it visible to a shared user
Given I am a user logged in as "[email protected]"
When I go to Unpublished Paper's video paper page
Then I share "Unpublished Paper" with "[email protected]"
When I go to my video papers page
And I follow "Publish" within "Unpublished Paper"
Given I am a user logged in as "[email protected]"
When I go to Unpublished Paper's video paper page
Then I should be on Unpublished Paper's video paper page
Scenario: Unpublishing "Unpublished Paper" then makes it invisible again
Given I am a user logged in as "[email protected]"
When I go to Unpublished Paper's video paper page
Then I share "Unpublished Paper" with "[email protected]"
When I go to my video papers page
And I follow "Unpublish" within "Unpublished Paper"
Given I am a user logged in as "[email protected]"
When I go to Unpublished Paper's video paper page
Then I should be on the my shared papers page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment