Sha256: dc0ff1aedfdf88f93f21ddcbcf3d36a0d8a42d2e9084f7841de3d141329763b0

Contents?: true

Size: 1.09 KB

Versions: 20

Compression:

Stored size: 1.09 KB

Contents

Feature: Remove a directory

  Background:
    Given I use a fixture named "cli-app"

  Scenario: Remove an existing directory
    Given a file named "features/non-existence.feature" with:
    """
    Feature: Remove
      Scenario: Remove
        Given an empty directory named "foo"
        When I remove the directory "foo"
        Then the directory "foo" should not exist
    """
    When I run `cucumber`
    Then the features should all pass

  Scenario: Remove an non-existing directory
    Given a file named "features/non-existence.feature" with:
    """
    Feature: Remove
      Scenario: Remove
        When I remove the directory "foo"
        Then the directory "foo" should not exist
    """
    When I run `cucumber`
    Then the features should not pass

  Scenario: Force remove an non-existing directory
    Given a file named "features/non-existence.feature" with:
    """
    Feature: Remove
      Scenario: Remove
        When I remove the directory "foo" with full force
        Then the directory "foo" should not exist
    """
    When I run `cucumber`
    Then the features should all pass

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
aruba-0.14.14 features/03_testing_frameworks/cucumber/steps/filesystem/remove_directory.feature
aruba-0.14.13 features/03_testing_frameworks/cucumber/steps/filesystem/remove_directory.feature
aruba-0.14.12 features/03_testing_frameworks/cucumber/steps/filesystem/remove_directory.feature
aruba-0.14.11 features/03_testing_frameworks/cucumber/steps/filesystem/remove_directory.feature
aruba-0.14.10 features/03_testing_frameworks/cucumber/steps/filesystem/remove_directory.feature
aruba-0.14.9 features/steps/filesystem/remove_directory.feature
aruba-0.14.8 features/steps/filesystem/remove_directory.feature
aruba-0.14.7 features/steps/filesystem/remove_directory.feature
aruba-0.14.6 features/steps/filesystem/remove_directory.feature
aruba-0.14.5 features/steps/filesystem/remove_directory.feature
aruba-0.14.4 features/steps/filesystem/remove_directory.feature
aruba-0.14.3 features/steps/filesystem/remove_directory.feature
aruba-win-fix-0.14.2 features/steps/filesystem/remove_directory.feature
aruba-0.14.2 features/steps/filesystem/remove_directory.feature
aruba-0.14.1 features/steps/filesystem/remove_directory.feature
aruba-0.14.0 features/steps/filesystem/remove_directory.feature
aruba-0.13.0 features/steps/filesystem/remove_directory.feature
aruba-0.12.0 features/steps/filesystem/remove_directory.feature
aruba-0.11.2 features/steps/filesystem/remove_directory.feature
aruba-0.11.1 features/steps/filesystem/remove_directory.feature