Sha256: c83fdd1abf0688f6efc53811f1432c6e4e86317c53179e259b316d1aee0dff16

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

Feature: Cells support for Middleman

  Scenario: Render a basic cell
    Given the Server is running at "basic-app"
    When I go to "/index.html"
    Then I should see "Hello."

  Scenario: Cells in non-default directory
    Given the Server is running at "non-default-dir-app"
    When I go to "/index.html"
    Then I should see "Hello from non-default directory."

  Scenario: Render with helpers
    Given the Server is running at "helpers-app"
    When I go to "/index.html"
    Then I should see "This is rendered by a helper."
    When I go to "/method.html"
    Then I should see "This is rendered by #foobar."
    When I go to "/collection.html"
    Then I should see "Item #1"
    Then I should see "Item #2"
    Then I should see "Item #3"

  Scenario: Edit and reload
    Given the Server is running at "reload-app"
    When I go to "/index.html"
    Then I should see "Before"
    And a file named "source/cells/reload/show.erb" with:
      """
      <p>After</p>
      """
    When I go to "/index.html"
    Then I should see "After"

  Scenario: Hamlit support
    Given the Server is running at "hamlit-app"
    When I go to "/index.html"
    Then I should see "<p>This is a Hamlit.</p>"

  Scenario: Haml support
    Given the Server is running at "haml-app"
    When I go to "/index.html"
    Then I should see "<p>This is a Haml.</p>"

  Scenario: Slim support
    Given the Server is running at "slim-app"
    When I go to "/index.html"
    Then I should see "<p>This is a Slim.</p>"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-cells-0.0.1 features/cells.feature