summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/git/raw_diff_change_spec.rb
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2018-04-26 15:11:31 -0500
committerRubén Dávila <rdavila84@gmail.com>2018-04-26 15:11:31 -0500
commitab992b8aa7499dc685326d74888421578624af5c (patch)
tree0433fdc09bfee26edc03abfe7cc7253b32579758 /spec/lib/gitlab/git/raw_diff_change_spec.rb
parent55f07cc32e7684b21e0c1662c70128df14c6abf7 (diff)
downloadgitlab-ce-ab992b8aa7499dc685326d74888421578624af5c.tar.gz
Backport some changes from gitlab-ee!5476rd-backport-of-ee-5566
The lib/gitlab/git/repository.rb needs to have the same content between gitlab-ce and gitlab-ee in order to have Gitaly working fine.
Diffstat (limited to 'spec/lib/gitlab/git/raw_diff_change_spec.rb')
-rw-r--r--spec/lib/gitlab/git/raw_diff_change_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/git/raw_diff_change_spec.rb b/spec/lib/gitlab/git/raw_diff_change_spec.rb
index eedde34534f..a0bb37fd84a 100644
--- a/spec/lib/gitlab/git/raw_diff_change_spec.rb
+++ b/spec/lib/gitlab/git/raw_diff_change_spec.rb
@@ -12,7 +12,7 @@ describe Gitlab::Git::RawDiffChange do
expect(change.operation).to eq(:unknown)
expect(change.old_path).to be_blank
expect(change.new_path).to be_blank
- expect(change.blob_size).to be_blank
+ expect(change.blob_size).to eq(0)
end
end