Commit 53de54b2 authored by Mark Chao's avatar Mark Chao

Merge branch '258994-fix-deprecation-lines-unfolder-spec' into 'master'

Fix kwargs deprecation warnings in lines unfolder spec

See merge request gitlab-org/gitlab!48810
parents 45c88c62 9debcfd0
...@@ -188,7 +188,7 @@ RSpec.describe Gitlab::Diff::LinesUnfolder do ...@@ -188,7 +188,7 @@ RSpec.describe Gitlab::Diff::LinesUnfolder do
let(:old_blob) { Blob.decorate(Gitlab::Git::Blob.new(data: raw_old_blob, size: 10)) } let(:old_blob) { Blob.decorate(Gitlab::Git::Blob.new(data: raw_old_blob, size: 10)) }
let(:diff) do let(:diff) do
Gitlab::Git::Diff.new(diff: raw_diff, Gitlab::Git::Diff.new({ diff: raw_diff,
new_path: "build-aux/flatpak/org.gnome.Nautilus.json", new_path: "build-aux/flatpak/org.gnome.Nautilus.json",
old_path: "build-aux/flatpak/org.gnome.Nautilus.json", old_path: "build-aux/flatpak/org.gnome.Nautilus.json",
a_mode: "100644", a_mode: "100644",
...@@ -196,7 +196,7 @@ RSpec.describe Gitlab::Diff::LinesUnfolder do ...@@ -196,7 +196,7 @@ RSpec.describe Gitlab::Diff::LinesUnfolder do
new_file: false, new_file: false,
renamed_file: false, renamed_file: false,
deleted_file: false, deleted_file: false,
too_large: false) too_large: false })
end end
let(:diff_file) do let(:diff_file) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment