Sha256: 5b880697e4b428228d57909a5346400c076b6fc56005e973b9f543114138c8f4

Contents?: true

Size: 720 Bytes

Versions: 1

Compression:

Stored size: 720 Bytes

Contents

Feature: Ignoring Imported Assets
  Background: App with imported assets ignoring some of them
    Given a fixture app "sprockets-app"
    And a file named "config.rb" with:
      """
      set :js_dir,  "library/js"
      set :css_dir, "library/css"

      sprockets.ignore_path /jquery/
      """
    And the Server is running

  Scenario: Imported jquery assets are not in the sitemap (but others are)
    Then the sitemap should not include "/images/jquery-mobile/ajax-loader.gif"
    And the sitemap should include "/fonts/bootstrap/glyphicons-halflings-regular.eot"

  Scenario: Assets from imported gem can still be required
    When I go to "/library/js/jquery_include.js"
    Then I should see "window.jQuery ="

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-sprockets-3.5.0 features/ignore_imported_paths.feature