features/step_definitions/client_files.rb in ftpd-0.17.0 vs features/step_definitions/client_files.rb in ftpd-1.0.0

- old
+ new

@@ -2,13 +2,13 @@ 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 + 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| - client.template(local_path).should == - client.file_contents(local_path) + expect(client.template(local_path)).to eq \ + client.file_contents(local_path) end