Sha256: 75e3629c5949b51d6a1b94cb6cd00e8a628ec030bbf8248de366dc53380f375d

Contents?: true

Size: 356 Bytes

Versions: 7

Compression:

Stored size: 356 Bytes

Contents

When /^the client successfully puts (text|binary) "(.*?)"$/ do
|mode, local_path|
  @client.put mode, local_path
end

When /^the client puts (\S+) "(.*?)"$/ do |mode, path|
  capture_error do
    step %Q(the client successfully puts #{mode} "#{path}")
  end
end

When /^the client puts with no path$/ do
  capture_error do
    @client.raw 'STOR'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ftpd-0.2.1 features/step_definitions/put.rb
ftpd-0.2.0 features/step_definitions/put.rb
ftpd-0.1.1 features/step_definitions/put.rb
ftpd-0.1.0 features/step_definitions/put.rb
ftpd-0.0.1.pre features/step_definitions/put.rb
ftpd-0.0.0.pre2 features/step_definitions/put.rb
ftpd-0.0.0.pre1 features/step_definitions/put.rb