Sha256: d4370548adee17beeb83c73f8b3c15f94061ef65fe3b20cf0420f6e2629d7925

Contents?: true

Size: 342 Bytes

Versions: 2

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

When /^the client deletes "(.*?)"$/ do |path|
  capture_error do
    step %Q(the client successfully deletes "#{path}")
  end
end

When /^the client successfully deletes "(.*?)"$/ do |path|
  client.delete path
end

When /^the client deletes with no path$/ do
  capture_error do
    client.raw 'DELE'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ftpd-2.0.1 features/step_definitions/delete.rb
ftpd-2.0.0 features/step_definitions/delete.rb