diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-11-03 22:35:06 +0300 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-11-03 22:37:08 +0300 |
commit | c3be1517ae3c576f7f4248b82b611a833fe06675 (patch) | |
tree | f5e2f963afdbf33e049d36328408b100eae9517d /spec/services/git_push_service_spec.rb | |
parent | 1b1403804e03db3cea3ad6a84dcfead449ed29d5 (diff) |
Factor '0' * 40 blank ref constants
Diffstat (limited to 'spec/services/git_push_service_spec.rb')
-rw-r--r-- | spec/services/git_push_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/git_push_service_spec.rb b/spec/services/git_push_service_spec.rb index 4ef053a767f..19b442573f4 100644 --- a/spec/services/git_push_service_spec.rb +++ b/spec/services/git_push_service_spec.rb @@ -8,7 +8,7 @@ describe GitPushService do let (:service) { GitPushService.new } before do - @blankrev = '0000000000000000000000000000000000000000' + @blankrev = Gitlab::Git::BLANK_SHA @oldrev = sample_commit.parent_id @newrev = sample_commit.id @ref = 'refs/heads/master' |