Sha256: dea36e66dfe1cb3db119b3629603eec0a4834c4ec3920304880927ad5648e573

Contents?: true

Size: 983 Bytes

Versions: 20

Compression:

Stored size: 983 Bytes

Contents

Feature: Change working directory

  You might want to change the current working directory.

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

  Scenario: Change to an existing sub directory
    Given a file named "features/non-existence.feature" with:
    """
    Feature: Working Directory
      Scenario: Working Directory
        Given a file named "foo/bar/example.txt" with:
        \"\"\"
        hello world
        \"\"\"
        When I cd to "foo/bar"
        And I run `cat example.txt`
        Then the output should contain "hello world"
        And the file "example.txt" should exist
    """
    When I run `cucumber`
    Then the features should all pass

  Scenario: Change to an non-existing sub directory
    Given a file named "features/non-existence.feature" with:
    """
    Feature: Working Directory
      Scenario: Working Directory
        When I cd to "foo/bar/non-existing"
    """
    When I run `cucumber`
    Then the features should not pass

Version data entries

20 entries across 20 versions & 2 rubygems

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