Created
December 31, 2008 15:44
-
-
Save emk/41986 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Multiple site support | |
As a Mephisto site owner | |
I want to host blogs for different people | |
In order to make gigantic piles of money | |
Background: | |
Given a global administrator named "Greg" | |
And a blog named "Greg's anti-tax rants" | |
And a customer named "Dr. Bill" | |
And a blog named "Expensive Therapy" owned by "Dr. Bill" | |
Scenario: Dr. Bill should be able to post to his own blog | |
Given that I am logged in as Dr. Bill | |
When I try to post to "Expensive Therapy" | |
Then I should see "Your article was published." | |
Scenario: Dr. Bill should not be able to post to other peoples' blogs | |
Given I am logged in as Dr. Bill | |
When I try to post an article to "Greg's anti-tax rants" | |
Then I should see "Hey! That's not your blog!" | |
Scenario: Greg should be able to post to anybody's blog | |
Given that I am logged in as Greg | |
When I try to post to "Expensive therapy" | |
Then I should see "Your article was published." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment