Sha256: e7599d82cd3f7f3d638356e470daf6c15960fbd409154fa6a085a24e4cf88d0f

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

Feature: Middleman-Slim CLI

  Scenario: Create a new project
    Given I run `middleman init MY_PROJECT --template slim`
    Then the exit status should be 0
    When I cd to "MY_PROJECT"
    Then the following files should exist:
      | Gemfile                                       |
      | .gitignore                                    |
      | config.rb                                     |
      | source/index.html.slim                        |
      | source/images/background.png                  |
      | source/images/middleman.png                   |
      | source/layouts/layout.slim                    |
      | source/javascripts/all.js                     |
      | source/stylesheets/all.css                    |
      | source/stylesheets/normalize.css              |

  Scenario: Create a new project with --images-dir option
    Given I run `middleman init MY_PROJECT --template slim --images-dir img`
    Then the exit status should be 0
    When I cd to "MY_PROJECT"
    Then the following files should exist:
      | source/img/background.png                     |
      | source/img/middleman.png                      |
      | source/stylesheets/all.css                    |
    And the file "source/stylesheets/all.css" should contain "../img/"
    And the file "source/stylesheets/all.css" should not contain "../IMG_DIR/"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-slim-0.1.1 features/cli_init.feature
middleman-slim-0.1.0 features/cli_init.feature