Created
October 23, 2012 16:12
-
-
Save joshcrews/3939763 to your computer and use it in GitHub Desktop.
Example Cucumber feature
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: Admin can hide events | |
In order to get bad stuff off the site without deleting it from the database | |
As a admin | |
I want to hide events | |
Scenario: normal | |
Given a user "tim@gmail.com" exists | |
Given he has an event named "Monster Truck Rally" | |
When I go to the events page | |
Then I should see "Monster Track Rally" | |
When I log into the admin | |
When I follow "Events" | |
When I hide "Monster Track Rally" | |
Then I should see "success" | |
When I go to the events page | |
Then I should not see "Monster Track Rally" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment