Sha256: e484fa6b234f78df2ef6fc39679085c079b562252f2b6086c9c1446b9a4bb487

Contents?: true

Size: 1.04 KB

Versions: 22

Compression:

Stored size: 1.04 KB

Contents

Feature: Sass partials should work with Sprockets

  Scenario: The preview server should update stylesheets when Sprockets partials change
    Given the Server is running at "preview-app"
    And the file "source/stylesheets/main2.css.sass" has the contents
      """
      //= require "_partial2.css.sass"

      red
        color: red
      """
    And the file "source/stylesheets/_partial2.css.sass" has the contents
      """
      body
        font-size: 14px
      """
    When I go to "/stylesheets/main2.css"
    Then I should see "color: red;"
    Then I should see "font-size: 14px"
    And wait a second
    And the file "source/stylesheets/main2.css.sass" has the contents
      """
      //= require "_partial2.css.sass"

      red
        color: blue
      """
    And the file "source/stylesheets/_partial2.css.sass" has the contents
      """
      body
        font-size: 18px
      """
    When I go to "/stylesheets/main2.css"
    When I go to "/stylesheets/main2.css"
    Then I should see "color: blue;"
    Then I should see "font-size: 18px"

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
middleman-sprockets-3.5.0 features/sass_partials.feature
middleman-sprockets-4.0.0.rc.1 features/sass_partials.feature
middleman-sprockets-4.0.0.beta.1 features/sass_partials.feature
middleman-sprockets-3.4.2 features/sass_partials.feature
middleman-sprockets-3.4.1 features/sass_partials.feature
middleman-sprockets-3.3.10 features/sass_partials.feature
middleman-sprockets-3.3.9 features/sass_partials.feature
middleman-sprockets-3.3.8 features/sass_partials.feature
middleman-sprockets-3.3.7 features/sass_partials.feature
middleman-sprockets-cj-3.3.6 features/sass_partials.feature
middleman-sprockets-3.3.6 features/sass_partials.feature
middleman-sprockets-3.3.4 features/sass_partials.feature
middleman-sprockets-3.3.3 features/sass_partials.feature
middleman-sprockets-3.3.2 features/sass_partials.feature
middleman-sprockets-3.3.1 features/sass_partials.feature
middleman-sprockets-3.3.0 features/sass_partials.feature
middleman-sprockets-3.2.0 features/sass_partials.feature
middleman-sprockets-3.1.4 features/sass_partials.feature
middleman-sprockets-3.1.2 features/sass_partials.feature
middleman-sprockets-3.1.1 features/sass_partials.feature