Sha256: 3753564a188ea395c5d6f169c874910bdf4f9e8b512bdc66ff92497e663c6d36

Contents?: true

Size: 1.62 KB

Versions: 84

Compression:

Stored size: 1.62 KB

Contents

Feature: Sass Updates and Partials
  Scenario: The preview server should update stylesheets when Sass changes
    Given the Server is running at "more-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 "more-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 "more-preview-app"
    Then the file "build/stylesheets/main.css" should contain "font-size: 18px"

Version data entries

84 entries across 84 versions & 4 rubygems

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