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 |
|
2012-08-21 04:37:10 +02:00
|
|
|
| .gitignore |
|