middleman/middleman-core/features/cli_extension.feature

15 lines
653 B
Gherkin
Raw Normal View History

2012-05-03 00:59:36 +02:00
Feature: Middleman New Extension CLI
Scenario: Create a new extension scaffold
Given I run `middleman extension my-extension-library`
Then the exit status should be 0
When I cd to "my-extension-library"
Then the following files should exist:
| Gemfile |
| Rakefile |
| my-extension-library.gemspec |
| features/support/env.rb |
| lib/middleman_extension.rb |
| lib/my-extension-library.rb |
| .gitignore |