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