Skip to content

Instantly share code, notes, and snippets.

@EngineeredEdge
Created January 26, 2016 20:30
Show Gist options
  • Save EngineeredEdge/a424e41572a7e4688d64 to your computer and use it in GitHub Desktop.
Save EngineeredEdge/a424e41572a7e4688d64 to your computer and use it in GitHub Desktop.
cucumber file for creating category ESaaS MOOC
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