Sha256: 379b7f28ac29464eb937babf49b55b3e6f4f5ac0a472529c2eac1b1c9fff8b9d

Contents?: true

Size: 1.03 KB

Versions: 4

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

4 entries across 4 versions & 1 rubygems

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