diff options
-rw-r--r-- | spec/lib/gitlab/diff/file_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/diff/file_spec.rb b/spec/lib/gitlab/diff/file_spec.rb index f0ca47d8d41..b15d22c634a 100644 --- a/spec/lib/gitlab/diff/file_spec.rb +++ b/spec/lib/gitlab/diff/file_spec.rb @@ -686,7 +686,7 @@ describe Gitlab::Diff::File do file_content: content ).execute - return project.commit(branch_name).diffs.diff_files.first + project.commit(branch_name).diffs.diff_files.first end def update_file(file_name, content) @@ -700,7 +700,7 @@ describe Gitlab::Diff::File do file_content: content ).execute - return project.commit(branch_name).diffs.diff_files.first + project.commit(branch_name).diffs.diff_files.first end def delete_file(file_name) @@ -713,7 +713,7 @@ describe Gitlab::Diff::File do file_path: file_name ).execute - return project.commit(branch_name).diffs.diff_files.first + project.commit(branch_name).diffs.diff_files.first end context 'when empty file is created' do |