Sha256: eb139f41a3fbeafd6a20b66ae099150113ab6f441eaaf624d5b44bbeac697242
Contents?: true
Size: 747 Bytes
Versions: 2
Compression:
Stored size: 747 Bytes
Contents
# frozen_string_literal: true 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ftpd-2.0.1 | features/step_definitions/put.rb |
ftpd-2.0.0 | features/step_definitions/put.rb |