diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-07-12 12:18:27 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2018-07-12 12:18:27 +0200 |
commit | f258b42014225ced73b5686a6e8dbbcfa37ffc67 (patch) | |
tree | d506c0abd56e0b1ac824a31c2d43c4c84910e6c9 | |
parent | 80cebabc5b1d838ac6423687f1c4c1bacccb8992 (diff) | |
download | gitlab-ce-remove-repository-lookup.tar.gz |
fix specremove-repository-lookup
-rw-r--r-- | spec/lib/gitlab/git/diff_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/git/diff_spec.rb b/spec/lib/gitlab/git/diff_spec.rb index 7c3d2af819b..11ab376ab8f 100644 --- a/spec/lib/gitlab/git/diff_spec.rb +++ b/spec/lib/gitlab/git/diff_spec.rb @@ -269,7 +269,7 @@ EOT before do # TODO use a Gitaly diff object instead rugged_commit = Gitlab::GitalyClient::StorageSettings.allow_disk_access do - repository.lookup('5937ac0a7beb003549fc5fd26fc247adbce4a52e') + repository.rugged.rev_parse('5937ac0a7beb003549fc5fd26fc247adbce4a52e') end @diffs = rugged_commit.parents[0].diff(rugged_commit).patches |