Sha256: db670786a14303650738cb2b8cdcfca85515eb6ce417449159dbc0b7a91925a5

Contents?: true

Size: 1.13 KB

Versions: 54

Compression:

Stored size: 1.13 KB

Contents

@disable-bundler
Feature: Update bourbon files

  Scenario: Updating updates an existing bourbon install
    Given bourbon is already installed
    When I write to "bourbon/_bourbon.scss" with:
      """
      foobar
      """
    And I run `bundle exec bourbon update`
    Then the output should contain "Bourbon files updated."
    And the file "bourbon/_bourbon.scss" should not contain "foobar"

  Scenario: Updating with a --path option
    Given I install bourbon to "custom_path"
    When I write to "custom_path/bourbon/_bourbon.scss" with:
      """
      foobar
      """
    And I run `bundle exec bourbon update`
    Then the output should contain "No existing bourbon installation. Doing nothing."

    When I run `bundle exec bourbon update --path custom_path`
    Then the output should contain "Bourbon files updated."
    And the file "custom_path/bourbon/_bourbon.scss" should not contain "foobar"

  Scenario: Updating does not generate a new bourbon install
    And I run `bundle exec bourbon update`
    Then bourbon should not have been generated
    And the output should contain "No existing bourbon installation. Doing nothing."

Version data entries

54 entries across 54 versions & 2 rubygems

Version Path
bourbon-5.0.0 features/update.feature
bourbon-5.0.0.beta.8 features/update.feature
bourbon-4.3.4 features/update.feature
bourbon-4.3.3 features/update.feature
bourbon-4.3.2 features/update.feature
bourbon-4.3.1 features/update.feature
bourbon-4.3.0 features/update.feature
bourbon-5.0.0.beta.7 features/update.feature
bourbon-5.0.0.beta.6 features/update.feature
bourbon-4.2.7 features/update.feature
bourbon-5.0.0.beta.5 features/update.feature
bourbon-5.0.0.beta.4 features/update.feature
bourbon-5.0.0.beta.3 features/update.feature
bourbon-5.0.0.beta.2 features/update.feature
bourbon-5.0.0.beta.1 features/update.feature
bourbon-4.2.6 features/update.feature
bourbon-4.2.5 features/update.feature
bourbon-5.0.0.alpha.0 features/update.feature
bourbon-4.2.4 features/update.feature
solidus_backend-1.0.0.pre3 vendor/bundle/gems/bourbon-4.2.3/features/update.feature