Created
January 26, 2016 20:30
-
-
Save EngineeredEdge/a424e41572a7e4688d64 to your computer and use it in GitHub Desktop.
cucumber file for creating category ESaaS MOOC
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: Organize Articles by Category | |
As a blog administrator | |
In order to better organize articles | |
I want to be able to create categories | |
Background: | |
Given the blog is set up | |
And I am logged into the admin panel | |
Scenario: Successfully Create Category | |
When I follow "Categories" | |
Then I should be on the categories page | |
And I should see "Categories" | |
When I fill in "category_name" with "Foo" | |
And I fill in "category_keywords" with "Bar" | |
And I fill in "category_description" with "You don't want to know" | |
And I press "Save" | |
Then I should see "Category was successfully saved." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment