Sha256: a98b1e2df4514e947b83d6409db9936012566990bbb218bcc0f51c410af4aa46

Contents?: true

Size: 1.06 KB

Versions: 20

Compression:

Stored size: 1.06 KB

Contents

Feature: Compare files

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

  Scenario: Compare existing files
    Given a file named "features/non-existence.feature" with:
    """
    Feature: Existence
      Scenario: Existence
        Given a file named "foo" with:
        \"\"\"
        hello world
        \"\"\"
        And a file named "bar" with:
        \"\"\"
        hello world
        \"\"\"
        And a file named "nonbar" with:
        \"\"\"
        hello another world
        \"\"\"
        Then the file "foo" should be equal to file "bar"
        And the file "foo" should not be equal to file "nonbar"
    """
    When I run `cucumber`
    Then the features should all pass

  Scenario: Compare non-existing files
    Given a file named "features/non-existence.feature" with:
    """
    Feature: Existence
      Scenario: Existence
        Given a file named "foo" with:
        \"\"\"
        hello world
        \"\"\"
        Then the file "foo" should be equal to file "bar"
    """
    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/compare_files.feature
aruba-0.14.13 features/03_testing_frameworks/cucumber/steps/filesystem/compare_files.feature
aruba-0.14.12 features/03_testing_frameworks/cucumber/steps/filesystem/compare_files.feature
aruba-0.14.11 features/03_testing_frameworks/cucumber/steps/filesystem/compare_files.feature
aruba-0.14.10 features/03_testing_frameworks/cucumber/steps/filesystem/compare_files.feature
aruba-0.14.9 features/steps/filesystem/compare_files.feature
aruba-0.14.8 features/steps/filesystem/compare_files.feature
aruba-0.14.7 features/steps/filesystem/compare_files.feature
aruba-0.14.6 features/steps/filesystem/compare_files.feature
aruba-0.14.5 features/steps/filesystem/compare_files.feature
aruba-0.14.4 features/steps/filesystem/compare_files.feature
aruba-0.14.3 features/steps/filesystem/compare_files.feature
aruba-win-fix-0.14.2 features/steps/filesystem/compare_files.feature
aruba-0.14.2 features/steps/filesystem/compare_files.feature
aruba-0.14.1 features/steps/filesystem/compare_files.feature
aruba-0.14.0 features/steps/filesystem/compare_files.feature
aruba-0.13.0 features/steps/filesystem/compare_files.feature
aruba-0.12.0 features/steps/filesystem/compare_files.feature
aruba-0.11.2 features/steps/filesystem/compare_files.feature
aruba-0.11.1 features/steps/filesystem/compare_files.feature