Sha256: 258ee8610abb0216567831bedd2a64399fa6ef62159d730c483428f85376f1be

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 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: Change to subdirectory
    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: Change to parent 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 up
    Then the current directory should be "/"

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

  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 no such file 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

3 entries across 3 versions & 1 rubygems

Version Path
ftpd-0.2.0 features/ftp_server/directory_navigation.feature
ftpd-0.1.1 features/ftp_server/directory_navigation.feature
ftpd-0.1.0 features/ftp_server/directory_navigation.feature