Sha256: b2f732640129d9e80209afbf2615a55931b9d69c655bb4e58b7eeafe36da652e

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

Feature: Minify HTML
  
  Scenario: Preview HTML with minify_html disabled
    Given "minify_html" feature is "disabled"
    And the Server is running at "basic-app"
    When I go to "/index.html"
    Then I should see "13" lines
    
  Scenario: Preview HTML with minify_html enabled
    Given "minify_html" feature is "enabled"
    And the Server is running at "basic-app"
    When I go to "/index.html"
    Then I should see "1" lines
  
  Scenario: Build HTML with minify_html disabled
    Given a fixture app "basic-app"
    And a file named "config.rb" with:
      """
      """
    And a successfully built app at "basic-app"
    When I cd to "build"
    Then the file "index.html" should contain "    <h1>"
  
  Scenario: Build HTML with minify_html enabled
    Given a fixture app "basic-app"
    And a file named "config.rb" with:
      """
      activate :minify_html
      """
    And a successfully built app at "basic-app"
    When I cd to "build"
    Then the file "index.html" should contain "<h1> Multi Line </h1> <h2> Broken Up </h2>"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-minify-html-3.0.0.beta.3 features/preview.feature
middleman-minify-html-3.0.0.beta.2 features/preview.feature