new default template thanks to @evenwu. closes #188
This commit is contained in:
parent
557aae372b
commit
82cd984a29
|
@ -1,20 +1,19 @@
|
||||||
Feature: Middleman CLI
|
Feature: Middleman CLI
|
||||||
|
|
||||||
Scenario: Create a new project
|
Scenario: Create a new project
|
||||||
When I run `middleman init MY_PROJECT`
|
Given I run `middleman init MY_PROJECT`
|
||||||
Then a directory named "MY_PROJECT" should exist
|
Then the exit status should be 0
|
||||||
When I cd to "MY_PROJECT"
|
When I cd to "MY_PROJECT"
|
||||||
Then the following files should exist:
|
Then the following files should exist:
|
||||||
| config.rb |
|
| config.rb |
|
||||||
Then the following files should not exist:
|
| source/index.html.erb |
|
||||||
| config.ru |
|
| source/images/background.png |
|
||||||
| Gemfile |
|
| source/images/middleman.png |
|
||||||
Then a directory named "source" should exist
|
| source/layouts/layout.erb |
|
||||||
When I cd to "source"
|
| source/javascripts/all.js |
|
||||||
Then the following files should exist:
|
| source/stylesheets/all.css.scss |
|
||||||
| index.html.erb |
|
| source/stylesheets/_animate.scss |
|
||||||
| layout.erb |
|
| source/stylesheets/_normalize.scss |
|
||||||
| stylesheets/site.css.scss |
|
|
||||||
|
|
||||||
Scenario: Create a new project (alias i)
|
Scenario: Create a new project (alias i)
|
||||||
When I run `middleman i MY_PROJECT`
|
When I run `middleman i MY_PROJECT`
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
Feature: Generator
|
|
||||||
|
|
||||||
Scenario: Copying template files
|
|
||||||
Given I run `middleman init generator-test`
|
|
||||||
Then the exit status should be 0
|
|
||||||
When I cd to "generator-test"
|
|
||||||
Then the following files should exist:
|
|
||||||
| config.rb |
|
|
||||||
| source/index.html.erb |
|
|
||||||
| source/images/background.png |
|
|
||||||
| source/images/middleman.png |
|
|
||||||
| source/layouts/layout.erb |
|
|
||||||
| source/javascripts/all.js |
|
|
||||||
| source/stylesheets/all.css.scss |
|
|
||||||
| source/stylesheets/_animate.scss |
|
|
||||||
| source/stylesheets/_normalize.scss |
|
|
Loading…
Reference in a new issue