Sha256: 53f1730677e460b51b47e3c18db07f84fbd4da26bd24b15e8e40a937625f2605

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 KB

Contents

Feature: Delete

  As a client
  I want to delete files
  So that nobody can fetch them from the server

  Background:
    Given the test server is started

  Scenario: Delete a file
    Given a successful login
    And the server has file "foo"
    When the client successfully deletes "foo"
    Then the server should not have file "foo"

  Scenario: Delete a file in a subdirectory
    Given a successful login
    And the server has file "foo/bar"
    When the client successfully deletes "foo/bar"
    Then the server should not have file "foo/bar"

  Scenario: Change current directory
    Given a successful login
    And the server has file "foo/bar"
    And the client successfully cd's to "foo"
    When the client successfully deletes "bar"
    Then the server should not have file "foo/bar"

  Scenario: Missing path
    Given a successful login
    And the server has file "foo"
    When the client deletes with no path
    Then the server returns a path required error

  Scenario: No such file
    Given a successful login
    When the client deletes "foo"
    Then the server returns a not found error

  Scenario: Access denied
    Given a successful login
    When the client deletes "forbidden"
    Then the server returns an access denied error

  Scenario: File system error
    Given a successful login
    When the client deletes "unable"
    Then the server returns an action not taken error

  Scenario: Not logged in
    Given a successful connection
    When the client deletes "foo"
    Then the server returns a not logged in error

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ftpd-0.1.1 features/ftp_server/delete.feature
ftpd-0.1.0 features/ftp_server/delete.feature