Sha256: fefe70f5c768389bf080d1191f85bde761a8a4c2beac11ded2f30975bc070e6c

Contents?: true

Size: 1.1 KB

Versions: 108

Compression:

Stored size: 1.1 KB

Contents

Feature: CSS and Javascripts which are minify shouldn't be re-minified

  Scenario: JS files containing ".min" should not be re-compressed
    Given an empty app
    And a file named "config.rb" with:
      """
      activate :minify_javascript
      """
    And a file named "source/javascripts/test.min.js" with:
      """
      var numbers = [ 1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10 ];
      """
    And the Server is running at "empty_app"
    When I go to "/javascripts/test.min.js"
    Then I should see "10" lines
    
  Scenario: CSS files containing ".min" should not be re-compressed
    Given an empty app
    And a file named "config.rb" with:
      """
      activate :minify_css
      """
    And a file named "source/stylesheets/test.min.css" with:
      """
      body { one: 1;
        two: 2;
        three: 3;
        four: 4;
        five: 5;
        six: 6;
        seven: 7;
        eight: 8;
        nine: 9; 
        ten: 10; }
      """
    And the Server is running at "empty_app"
    When I go to "/stylesheets/test.min.css"
    Then I should see "10" lines

Version data entries

108 entries across 108 versions & 5 rubygems

Version Path
middleman-core-4.5.1 features/ignore_already_minified.feature
middleman-core-4.5.0 features/ignore_already_minified.feature
middleman-core-4.4.3 features/ignore_already_minified.feature
middleman-core-4.4.2 features/ignore_already_minified.feature
middleman-core-4.4.0 features/ignore_already_minified.feature
middleman-core-4.3.11 features/ignore_already_minified.feature
middleman-core-4.3.10 features/ignore_already_minified.feature
middleman-core-4.3.8 features/ignore_already_minified.feature
middleman-core-4.3.7 features/ignore_already_minified.feature
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/features/ignore_already_minified.feature
middleman-core-4.3.6 features/ignore_already_minified.feature
middleman-core-4.3.5 features/ignore_already_minified.feature
middleman-core-4.3.4 features/ignore_already_minified.feature
middleman-core-4.3.3 features/ignore_already_minified.feature
middleman-core-4.3.2 features/ignore_already_minified.feature
middleman-core-4.3.1 features/ignore_already_minified.feature
middleman-core-4.3.0 features/ignore_already_minified.feature
middleman-core-4.3.0.rc.3 features/ignore_already_minified.feature
middleman-core-4.3.0.rc.2 features/ignore_already_minified.feature
middleman-core-with-external-sources-watch-fix-4.1.10 features/ignore_already_minified.feature