Sha256: f8dede83203c4899df44ff64a661126238af0fb18c77103ea62f8c3414cd7060

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 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|
  expect(line_ending_type(client.file_contents(local_path))).to eq \
  line_ending_type.to_sym
end

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

Version data entries

5 entries across 5 versions & 2 rubygems

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