Show an error message when git CLI is not available. Closes #1765
This commit is contained in:
parent
732ac7cbe9
commit
7bf4e4681f
3 changed files with 40 additions and 3 deletions
|
@ -63,6 +63,13 @@ Feature: Middleman CLI
|
|||
And the file "Gemfile" should contain "middleman-blog"
|
||||
And the file ".gitignore" should exist
|
||||
|
||||
Scenario: Create an invalid project using Middleman directory
|
||||
When I run `middleman init MY_PROJECT -T does-not-exist-for-reals`
|
||||
Then a directory named "MY_PROJECT" should exist
|
||||
When I cd to "MY_PROJECT"
|
||||
And the file "Gemfile" should contain "middleman-blog"
|
||||
And the file ".gitignore" should exist
|
||||
|
||||
Scenario: Create a new project using github(user/repository)
|
||||
When I run `middleman init MY_PROJECT -T middleman/middleman-templates-default` interactively
|
||||
And I type "y"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue