Sha256: ac7d26d5f77a789ec4094c00005941a190f977340b389c8c7ffbe21273de0d2f

Contents?: true

Size: 1.15 KB

Versions: 32

Compression:

Stored size: 1.15 KB

Contents

@disable-bundler
Feature: Update kentucky files

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

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

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

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

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
kentucky-0.5.1 features/update.feature
kentucky-0.5.0 features/update.feature
kentucky-0.4.3 features/update.feature
kentucky-0.4.2 features/update.feature
kentucky-0.4.1 features/update.feature
kentucky-0.4.0 features/update.feature
kentucky-0.3.0 features/update.feature
kentucky-0.2.0 features/update.feature
kentucky-0.1.3 features/update.feature
kentucky-0.1.2 features/update.feature
kentucky-0.1.1 features/update.feature
kentucky-0.1.0 features/update.feature