Sha256: 651f39d2c52e25c8d0222c4d28026fd90ed32175490737e3c76f56c4cb3f6a9c
Contents?: true
Size: 449 Bytes
Versions: 2
Compression:
Stored size: 449 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ftpd-0.5.0 | features/step_definitions/client_files.rb |
ftpd-0.4.0 | features/step_definitions/client_files.rb |