Sha256: 55ed927eca88d43ecb7c899dc95d2cb55077e56f16def4ff02fcf5091c2cf012

Contents?: true

Size: 1.61 KB

Versions: 24

Compression:

Stored size: 1.61 KB

Contents

Feature: Sass Updates and Partials
  Scenario: The preview server should update stylesheets when Sass changes
    Given the Server is running at "preview-app"
    And the file "source/stylesheets/plain.css.sass" has the contents
      """
      red
        color: red
      """
    When I go to "/stylesheets/plain.css"
    Then I should see "color: red;"
    And the file "source/stylesheets/plain.css.sass" has the contents
      """
      red
        color: blue
      """
    When I go to "/stylesheets/plain.css"
    Then I should see "color: blue;"

  Scenario: The preview server should update stylesheets when Sass partials change
    Given the Server is running at "preview-app"
    And the file "source/stylesheets/main.css.sass" has the contents
      """
      @import partial.sass

      red
        color: red
      """
    And the file "source/stylesheets/_partial.sass" has the contents
      """
      body
        font-size: 14px
      """
    When I go to "/stylesheets/main.css"
    Then I should see "color: red;"
    And I should see "font-size: 14px;"
    And the file "source/stylesheets/main.css.sass" has the contents
      """
      @import partial.sass

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

  Scenario: Sass partials should work when building
    Given a successfully built app at "preview-app"
    Then the file "build/stylesheets/main.css" should contain "font-size: 18px"

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
middleman-more-3.0.14 features/sass_partials.feature
middleman-more-3.1.0.beta.3 features/sass_partials.feature
middleman-more-3.1.0.beta.2 features/sass_partials.feature
middleman-more-3.1.0.beta.1 features/sass_partials.feature
middleman-more-3.0.13 features/sass_partials.feature
middleman-more-3.0.12 features/sass_partials.feature
middleman-more-3.0.12.pre.1 features/sass_partials.feature
middleman-more-3.0.11 features/sass_partials.feature
middleman-more-3.0.10.pre.1 features/sass_partials.feature
middleman-more-3.0.9 features/sass_partials.feature
middleman-more-3.0.8 features/sass_partials.feature
middleman-more-3.0.8.pre.2 features/sass_partials.feature
middleman-more-3.0.8.pre.1 features/sass_partials.feature
middleman-more-3.0.7 features/sass_partials.feature
middleman-more-3.0.6 features/sass_partials.feature
middleman-more-3.0.5 features/sass_partials.feature
middleman-more-3.0.4 features/sass_partials.feature
middleman-more-3.0.2 features/sass_partials.feature
middleman-more-3.0.1.pre features/sass_partials.feature
middleman-more-3.0.0 features/sass_partials.feature