Sha256: 3d55a81184f6bde1dadb1bc198a6b0488f25b3e194e6b8bbe0fee764c165cfbb

Contents?: true

Size: 1018 Bytes

Versions: 26

Compression:

Stored size: 1018 Bytes

Contents

Feature: Change Directory

  As a client
  I want to change to the parent directory

  Background:
    Given the test server is started

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

  Scenario: From root
    Given a successful login
    When the client successfully cd's up
    Then the current directory should be "/"

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

  Scenario: With argument
    Given a successful login
    When the client sends "CDUP abc"
    Then the server returns a syntax 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-0.5.0 features/ftp_server/cdup.feature
ftpd-0.4.0 features/ftp_server/cdup.feature
ftpd-0.3.2 features/ftp_server/cdup.feature
ftpd-0.3.1 features/ftp_server/cdup.feature
ftpd-0.2.2 features/ftp_server/cdup.feature
ftpd-0.2.1 features/ftp_server/cdup.feature