Commit 4e2a2eff authored by Robert Speicher's avatar Robert Speicher

Merge branch 'pl-ruby-deprecation-warnings-git-diff' into 'master'

Fix kwargs deprecation warnings in git diff specs

See merge request gitlab-org/gitlab!51573
parents db437aa9 1465ecbd
......@@ -58,7 +58,7 @@ EOT
context 'using a diff that is too large' do
it 'prunes the diff' do
diff = described_class.new(diff: 'a' * 204800)
diff = described_class.new({ diff: 'a' * 204800 })
expect(diff.diff).to be_empty
expect(diff).to be_too_large
......
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