android.moparisthebest.org/octopress/features/create.feature

18 lines
558 B
Gherkin

Feature: create subcommand
In order to make blogs for hackers
As a hacker using the octopress executable
I want to create a blog from a template
Scenario: No flags, switches or arguments
When I successfully run `octopress create`
Then an empty project structure should exist
Scenario: Path argument provided
When I successfully run `octopress create pathto/myblog`
Then a directory named "pathto/myblog" should exist
When I cd to "pathto/myblog"
Then an empty project structure should exist
Scenario: directory exists