Lines Matching refs:diff_file

83         diff_file = subject.diff_file(project.repository)
85 expect(diff_file.new_file?).to be true
86 expect(diff_file.new_path).to eq(subject.new_path)
87 expect(diff_file.diff_refs).to eq(subject.diff_refs)
130 diff_file = subject.diff_file(project.repository)
132 expect(diff_file.new_file?).to be true
133 expect(diff_file.new_path).to eq(subject.new_path)
134 expect(diff_file.diff_refs).to eq(subject.diff_refs)
154 diff_file = subject.diff_file(project.repository)
156 expect(diff_file.old_path).to eq(subject.old_path)
157 expect(diff_file.new_path).to eq(subject.new_path)
158 expect(diff_file.diff_refs).to eq(subject.diff_refs)
162 def diff_file(args = {}) method
165 .diff_file(project.repository)
172 diff_file(old_line: 1, new_line: 1, diff_refs: commit.diff_refs)
177 diff_file(old_line: 5, new_line: 5, diff_refs: commit.diff_refs)
214 diff_file = subject.diff_file(project.repository)
216 expect(diff_file.old_path).to eq(subject.old_path)
217 expect(diff_file.new_path).to eq(subject.new_path)
218 expect(diff_file.diff_refs).to eq(subject.diff_refs)
255 diff_file = subject.diff_file(project.repository)
257 expect(diff_file.old_path).to eq(subject.old_path)
258 expect(diff_file.new_path).to eq(subject.new_path)
259 expect(diff_file.diff_refs).to eq(subject.diff_refs)
299 diff_file = subject.diff_file(project.repository)
301 expect(diff_file.old_path).to eq(subject.old_path)
302 expect(diff_file.new_path).to eq(subject.new_path)
303 expect(diff_file.diff_refs).to eq(subject.diff_refs)
339 diff_file = subject.diff_file(project.repository)
341 expect(diff_file.old_path).to eq(subject.old_path)
342 expect(diff_file.new_path).to eq(subject.new_path)
343 expect(diff_file.diff_refs).to eq(subject.diff_refs)
380 diff_file = subject.diff_file(project.repository)
382 expect(diff_file.old_path).to eq(subject.old_path)
383 expect(diff_file.new_path).to eq(subject.new_path)
384 expect(diff_file.diff_refs).to eq(subject.diff_refs)
423 diff_file = subject.diff_file(project.repository)
425 expect(diff_file.deleted_file?).to be true
426 expect(diff_file.old_path).to eq(subject.old_path)
427 expect(diff_file.diff_refs).to eq(subject.diff_refs)
470 expect { subject.diff_file(project.repository) }.not_to raise_error
502 diff_file = subject.diff_file(project.repository)
504 expect(diff_file.new_file?).to be true
505 expect(diff_file.new_path).to eq(subject.new_path)
506 expect(diff_file.diff_refs).to eq(subject.diff_refs)
550 diff_file = subject.diff_file(project.repository)
552 expect(diff_file.deleted_file?).to be true
553 expect(diff_file.old_path).to eq(subject.old_path)
554 expect(diff_file.diff_refs).to eq(subject.diff_refs)
606 expect(diff_file.file_identifier_hash).to eq(old_symlink_file_identifier_hash)
617 expect(diff_file.file_identifier_hash).to eq(new_regular_file_identifier_hash)
634 expect(diff_file.file_identifier_hash).to eq(old_symlink_file_identifier_hash)
642 expect(diff_file.file_identifier_hash).to eq(old_symlink_file_identifier_hash)
650 expect(diff_file).to be_nil