Sha256: 440d23099123c10c00bf9393d3aac31bd1fb79e23c214293cf15e885a37acb0b

Contents?: true

Size: 1.04 KB

Versions: 20

Compression:

Stored size: 1.04 KB

Contents

Feature: Remove a file

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

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

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

  Scenario: Force remove an non-existing file
    Given a file named "features/non-existence.feature" with:
    """
    Feature: Remove
      Scenario: Remove
        When I remove the file "foo" with full force
        Then the file "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_file.feature
aruba-0.14.13 features/03_testing_frameworks/cucumber/steps/filesystem/remove_file.feature
aruba-0.14.12 features/03_testing_frameworks/cucumber/steps/filesystem/remove_file.feature
aruba-0.14.11 features/03_testing_frameworks/cucumber/steps/filesystem/remove_file.feature
aruba-0.14.10 features/03_testing_frameworks/cucumber/steps/filesystem/remove_file.feature
aruba-0.14.9 features/steps/filesystem/remove_file.feature
aruba-0.14.8 features/steps/filesystem/remove_file.feature
aruba-0.14.7 features/steps/filesystem/remove_file.feature
aruba-0.14.6 features/steps/filesystem/remove_file.feature
aruba-0.14.5 features/steps/filesystem/remove_file.feature
aruba-0.14.4 features/steps/filesystem/remove_file.feature
aruba-0.14.3 features/steps/filesystem/remove_file.feature
aruba-win-fix-0.14.2 features/steps/filesystem/remove_file.feature
aruba-0.14.2 features/steps/filesystem/remove_file.feature
aruba-0.14.1 features/steps/filesystem/remove_file.feature
aruba-0.14.0 features/steps/filesystem/remove_file.feature
aruba-0.13.0 features/steps/filesystem/remove_file.feature
aruba-0.12.0 features/steps/filesystem/remove_file.feature
aruba-0.11.2 features/steps/filesystem/remove_file.feature
aruba-0.11.1 features/steps/filesystem/remove_file.feature