Sha256: f61aabef8d87de4716fa1a41e265d2edb05a0251be99d365d91d09734d2b9922

Contents?: true

Size: 445 Bytes

Versions: 13

Compression:

Stored size: 445 Bytes

Contents

Given /^the client has file "(.*?)"$/ do |local_path|
  client.add_file local_path
end

Then /^the local file "(.*?)" should have (unix|windows) line endings$/ do
|local_path, line_ending_type|
  line_ending_type(client.file_contents(local_path)).should ==
    line_ending_type.to_sym
end

Then /^the local file "(.*?)" should match its template$/ do |local_path|
  client.template(local_path).should ==
    client.file_contents(local_path)
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ftpd-0.17.0 features/step_definitions/client_files.rb
ftpd-0.16.0 features/step_definitions/client_files.rb
ftpd-0.15.0 features/step_definitions/client_files.rb
ftpd-0.14.0 features/step_definitions/client_files.rb
ftpd-0.13.0 features/step_definitions/client_files.rb
ftpd-0.12.0 features/step_definitions/client_files.rb
ftpd-0.11.0 features/step_definitions/client_files.rb
ftpd-0.10.0 features/step_definitions/client_files.rb
ftpd-0.9.0 features/step_definitions/client_files.rb
ftpd-0.7.1 features/step_definitions/client_files.rb
ftpd-0.8.0 features/step_definitions/client_files.rb
ftpd-0.7.0 features/step_definitions/client_files.rb
ftpd-0.6.0 features/step_definitions/client_files.rb