Sha256: b6853cd8769bcc5990b375e2e05c9133eebeef59d4d94d7cc8c9a9aee0a3d60c

Contents?: true

Size: 493 Bytes

Versions: 5

Compression:

Stored size: 493 Bytes

Contents

When /^the client successfully gets size of (text|binary) "(.*?)"$/ \
do |mode, remote_path|
  @size = client.get_size mode, remote_path
end

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

When /^the client gets size with no path$/ do
  capture_error do
    client.raw 'SIZE'
  end
end

Then(/^the reported size should be "(.*?)"$/) do |size|
  expect(@size).to eq size.to_i
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
ftpd-1.1.1 features/step_definitions/size.rb
ftpd-1.1.0 features/step_definitions/size.rb
investtools-ftpd-1.0.1 features/step_definitions/size.rb
ftpd-1.0.1 features/step_definitions/size.rb
ftpd-1.0.0 features/step_definitions/size.rb