features/step_definitions/client_files.rb in ftpd-0.3.2 vs features/step_definitions/client_files.rb in ftpd-0.4.0

- old
+ new

@@ -5,5 +5,10 @@ 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