Sha256: ec2eed53d1f62e0b37794bef5ec8dd29d72356c3b9aa741a2b0986f069954b5e

Contents?: true

Size: 1.98 KB

Versions: 13

Compression:

Stored size: 1.98 KB

Contents

Feature: Sprockets

  Scenario: Sprockets JS require
    Given the Server is running at "sprockets-app2"
    When I go to "/javascripts/sprockets_base.js"
    Then I should see "sprockets_sub_function"
    
  Scenario: Sprockets JS require with custom :js_dir
    Given the Server is running at "sprockets-app"
    When I go to "/library/js/sprockets_base.js"
    Then I should see "sprockets_sub_function"
    
  Scenario: Plain JS require with custom :js_dir
    Given the Server is running at "sprockets-app"
    When I go to "/library/css/plain.css"
    Then I should see "helloWorld"
    
  Scenario: Sprockets JS should have access to yaml data
    Given the Server is running at "sprockets-app2"
    When I go to "/javascripts/multiple_engines.js"
    Then I should see "Hello One"
    
  Scenario: Multiple engine files should build correctly
    Given a successfully built app at "sprockets-app2"
    When I cd to "build"
    Then a file named "javascripts/multiple_engines.js" should exist
    And the file "javascripts/multiple_engines.js" should contain "Hello One"
  
  Scenario: Sprockets CSS require //require
    Given the Server is running at "sprockets-app2"
    When I go to "/stylesheets/sprockets_base1.css"
    Then I should see "hello"
    
  Scenario: Sprockets CSS require @import
    Given the Server is running at "sprockets-app2"
    When I go to "/stylesheets/sprockets_base2.css"
    Then I should see "hello"

  Scenario: Sprockets CSS require with custom :css_dir //require
    Given the Server is running at "sprockets-app"
    When I go to "/library/css/sprockets_base1.css"
    Then I should see "hello"
    
  Scenario: Plain CSS require with custom :css_dir
    Given the Server is running at "sprockets-app"
    When I go to "/library/css/plain.css"
    Then I should see "helloWorld"
    
  Scenario: Sprockets CSS require with custom :css_dir @import
    Given the Server is running at "sprockets-app"
    When I go to "/library/css/sprockets_base2.css"
    Then I should see "hello"

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
middleman-sprockets-3.0.1 features/sprockets.feature
middleman-sprockets-3.0.1.pre features/sprockets.feature
middleman-sprockets-3.0.0 features/sprockets.feature
middleman-sprockets-3.0.0.rc.4 features/sprockets.feature
middleman-sprockets-3.0.0.rc.3 features/sprockets.feature
middleman-sprockets-3.0.0.rc.2 features/sprockets.feature
middleman-sprockets-3.0.0.rc.1 features/sprockets.feature
middleman-more-3.0.0.beta.3 features/sprockets.feature
middleman-more-3.0.0.beta.2 features/sprockets.feature
middleman-more-3.0.0.beta.1 features/sprockets.feature
middleman-more-3.0.0.alpha.9 features/sprockets.feature
middleman-more-3.0.0.alpha.8 features/sprockets.feature
middleman-more-3.0.0.alpha.7 features/sprockets.feature