Sha256: 7150a3d4011ec90eb3939603c6c838975504d29d25003e1ef43699f1a7fd75c2

Contents?: true

Size: 1.71 KB

Versions: 26

Compression:

Stored size: 1.71 KB

Contents

Feature: Change Directory

  As a client
  I want to change the current directory
  So that I can use shorter paths

  Background:
    Given the test server is started

  Scenario: Down to subdir
    Given a successful login
    And the server has file "subdir/bar"
    When the client successfully cd's to "subdir"
    Then the current directory should be "/subdir"

  Scenario: Up from subdir
    Given a successful login
    And the server has file "subdir/bar"
    And the client successfully cd's to "subdir"
    When the client successfully cd's to ".."
    Then the current directory should be "/"

  Scenario: Up from root
    Given a successful login
    When the client successfully cd's to ".."
    Then the current directory should be "/"

  Scenario: XPWD
    Given a successful login
    And the server has directory "subdir"
    When the client successfully cd's to "subdir"
    Then the XPWD directory should be "/subdir"

  Scenario: XCWD
    Given a successful login
    And the server has directory "subdir"
    When the client successfully sends "XCWD subdir"
    Then the current directory should be "/subdir"

  Scenario: Change to file
    Given a successful login
    And the server has file "baz"
    When the client cd's to "baz"
    Then the server returns a not a directory error

  Scenario: No such directory
    Given a successful login
    When the client cd's to "subdir"
    Then the server returns a not found error

  Scenario: Access denied
    Given a successful login
    When the client cd's to "forbidden"
    Then the server returns an access denied error

  Scenario: Not logged in
    Given a successful connection
    When the client cd's to "subdir"
    Then the server returns a not logged in error

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
ftpd-2.0.1 features/ftp_server/directory_navigation.feature
ftpd-2.0.0 features/ftp_server/directory_navigation.feature
ftpd-1.1.1 features/ftp_server/directory_navigation.feature
ftpd-1.1.0 features/ftp_server/directory_navigation.feature
investtools-ftpd-1.0.1 features/ftp_server/directory_navigation.feature
ftpd-1.0.1 features/ftp_server/directory_navigation.feature
ftpd-1.0.0 features/ftp_server/directory_navigation.feature
ftpd-0.17.0 features/ftp_server/directory_navigation.feature
ftpd-0.16.0 features/ftp_server/directory_navigation.feature
ftpd-0.15.0 features/ftp_server/directory_navigation.feature
ftpd-0.14.0 features/ftp_server/directory_navigation.feature
ftpd-0.13.0 features/ftp_server/directory_navigation.feature
ftpd-0.12.0 features/ftp_server/directory_navigation.feature
ftpd-0.11.0 features/ftp_server/directory_navigation.feature
ftpd-0.10.0 features/ftp_server/directory_navigation.feature
ftpd-0.9.0 features/ftp_server/directory_navigation.feature
ftpd-0.7.1 features/ftp_server/directory_navigation.feature
ftpd-0.8.0 features/ftp_server/directory_navigation.feature
ftpd-0.7.0 features/ftp_server/directory_navigation.feature
ftpd-0.6.0 features/ftp_server/directory_navigation.feature