Sha256: cae06a892c9b9d998fc106cd8f4691e9ea8ba7f69c963b3954b1da9544ac8853

Contents?: true

Size: 1003 Bytes

Versions: 16

Compression:

Stored size: 1003 Bytes

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 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"
      Then I should see "color: blue;"
    Then I should see "font-size: 18px"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
middleman-sprockets-3.0.10 features/sass_partials.feature
middleman-sprockets-3.0.9 features/sass_partials.feature
middleman-sprockets-3.0.8 features/sass_partials.feature
middleman-sprockets-3.0.6 features/sass_partials.feature
middleman-sprockets-3.0.6.pre.1 features/sass_partials.feature
middleman-sprockets-3.0.5 features/sass_partials.feature
middleman-sprockets-3.0.4 features/sass_partials.feature
middleman-sprockets-3.0.3 features/sass_partials.feature
middleman-sprockets-3.0.2 features/sass_partials.feature
middleman-sprockets-3.0.1 features/sass_partials.feature
middleman-sprockets-3.0.1.pre features/sass_partials.feature
middleman-sprockets-3.0.0 features/sass_partials.feature
middleman-sprockets-3.0.0.rc.4 features/sass_partials.feature
middleman-sprockets-3.0.0.rc.3 features/sass_partials.feature
middleman-sprockets-3.0.0.rc.2 features/sass_partials.feature
middleman-sprockets-3.0.0.rc.1 features/sass_partials.feature