Created
February 1, 2009 20:59
-
-
Save ianwhite/56657 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
# Example of pickle: http://github.com/ianwhite/pickle | |
# | |
# Just knocked this up to provide an acceptance test for a bug. Took 2 mins | |
# | |
# All but the very first step, and the webrat steps, are pickle steps (there are 'category' and 'area' factories) | |
Feature: Fix bug #98, Categories should be able to have same title, when in different areas | |
Scenario: I should be able to create two categories called 'General Images' within two different areas | |
Given I am logged in as an admin | |
And 2 areas exist | |
When I go to the 1st area's new category page | |
And I fill in "title" with "General Images" | |
And I press "Create" | |
Then I should see "Category was successfully created" | |
When I go to the 2nd area's new category page | |
And I fill in "title" with "General Images" | |
And I press "Create" | |
Then I should see "Category was successfully created" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment