2011-12-21 12:38:38 -05:00
|
|
|
Feature: create subcommand
|
2011-12-15 11:04:12 -05:00
|
|
|
|
2011-12-21 12:38:38 -05:00
|
|
|
In order to make blogs for hackers
|
|
|
|
As a hacker using the octopress executable
|
2012-01-18 16:25:14 -05:00
|
|
|
I want to create a blog using a theme
|
2011-12-21 12:38:38 -05:00
|
|
|
|
|
|
|
Scenario: No flags, switches or arguments
|
2011-12-15 11:04:12 -05:00
|
|
|
When I successfully run `octopress create`
|
2012-01-18 16:25:14 -05:00
|
|
|
Then a theme-classic project structure should exist
|
2011-12-21 12:38:38 -05:00
|
|
|
|
|
|
|
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"
|
2012-01-18 16:25:14 -05:00
|
|
|
Then a theme-classic project structure should exist
|
2011-12-21 12:38:38 -05:00
|
|
|
|
|
|
|
Scenario: directory exists
|