Sha256: 048cd3914ef1e7eaeb113599e08b4521f5d5e7fd69456ece52dcbd92db94a1e3

Contents?: true

Size: 716 Bytes

Versions: 18

Compression:

Stored size: 716 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

When /^the client successfully stores unique "(.*?)"(?: to "(.*?)")?$/ do
|local_path, remote_path|
  client.store_unique local_path, remote_path
end

When /^the client stores unique "(.*?)"( to ".*?")?$/ do
|local_path, remote_path|
  capture_error do
    step(%Q'the client successfully stores unique ' +
         %Q'"#{local_path}"#{remote_path}')
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
ftpd-1.1.1 features/step_definitions/put.rb
ftpd-1.1.0 features/step_definitions/put.rb
investtools-ftpd-1.0.1 features/step_definitions/put.rb
ftpd-1.0.1 features/step_definitions/put.rb
ftpd-1.0.0 features/step_definitions/put.rb
ftpd-0.17.0 features/step_definitions/put.rb
ftpd-0.16.0 features/step_definitions/put.rb
ftpd-0.15.0 features/step_definitions/put.rb
ftpd-0.14.0 features/step_definitions/put.rb
ftpd-0.13.0 features/step_definitions/put.rb
ftpd-0.12.0 features/step_definitions/put.rb
ftpd-0.11.0 features/step_definitions/put.rb
ftpd-0.10.0 features/step_definitions/put.rb
ftpd-0.9.0 features/step_definitions/put.rb
ftpd-0.7.1 features/step_definitions/put.rb
ftpd-0.8.0 features/step_definitions/put.rb
ftpd-0.7.0 features/step_definitions/put.rb
ftpd-0.6.0 features/step_definitions/put.rb