Sha256: 8945206cafe0edfd80f08232fb4f3af19690bb6c788c4f9b94e541dbc41659dd

Contents?: true

Size: 785 Bytes

Versions: 2

Compression:

Stored size: 785 Bytes

Contents

Feature: Minify Javascript
  In order reduce bytes sent to client and appease YSlow

  Background:
    Given current environment is "build"

  Scenario: Rendering inline js with the feature disabled
    Given "minify_javascript" feature is "disabled"
    And the Server is running
    When I go to "/inline-js.html"
    Then I should see "10" lines

  Scenario: Rendering inline js with the feature enabled
    Given "minify_javascript" feature is "enabled"
    And the Server is running
    When I go to "/inline-js.html"
    Then I should see "5" lines

  Scenario: Rendering inline js (coffeescript) with the feature enabled
    Given "minify_javascript" feature is "enabled"
    And the Server is running
    When I go to "/inline-coffeescript.html"
    Then I should see "5" lines

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-2.0.0.rc92 features/minify_javascript.feature
middleman-2.0.0.rc91 features/minify_javascript.feature