Sha256: e43903584f018cd27d281e6bcd79f79df26e49a9be57d07d72b5399ec316ee79

Contents?: true

Size: 291 Bytes

Versions: 10

Compression:

Stored size: 291 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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ftpd-0.3.2 features/step_definitions/client_files.rb
ftpd-0.3.1 features/step_definitions/client_files.rb
ftpd-0.2.2 features/step_definitions/client_files.rb
ftpd-0.2.1 features/step_definitions/client_files.rb
ftpd-0.2.0 features/step_definitions/client_files.rb
ftpd-0.1.1 features/step_definitions/client_files.rb
ftpd-0.1.0 features/step_definitions/client_files.rb
ftpd-0.0.1.pre features/step_definitions/client_files.rb
ftpd-0.0.0.pre2 features/step_definitions/client_files.rb
ftpd-0.0.0.pre1 features/step_definitions/client_files.rb