Sha256: cc18c2aca1ef1eebe6b037d529246ba23d67e2c0b04e0a96906a786ce6cb5c6b

Contents?: true

Size: 713 Bytes

Versions: 3

Compression:

Stored size: 713 Bytes

Contents

Feature: file system commands

  In order to specify commands that load files
  As a developer using Cucumber
  I want to create temporary files
  
  Scenario: create a dir
    Given a directory named "foo/bar"
    When I run "ruby -e \"puts test ?d, 'foo'\""
    Then the stdout should contain "true"
  
  Scenario: cat a file
    Given a file named "foo/bar/example.rb" with:
      """
      puts "hello world"
      """
    When I run "ruby foo/bar/example.rb"
    Then I should see "hello world"

  Scenario: clean up files generated in previous scenarios
    When I run "ruby foo/bar/example.rb"
    Then the exit status should be 1
    And I should see "No such file or directory -- foo/bar/example.rb"
    

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aruba-0.1.2 features/file_system_commands.feature
aruba-0.1.1 features/file_system_commands.feature
aruba-0.1.0 features/file_system_commands.feature