summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-11-03 20:35:06 +0100
committerCiro Santilli <ciro.santilli@gmail.com>2014-11-03 20:37:08 +0100
commitc3be1517ae3c576f7f4248b82b611a833fe06675 (patch)
treef5e2f963afdbf33e049d36328408b100eae9517d /spec/models
parent1b1403804e03db3cea3ad6a84dcfead449ed29d5 (diff)
downloadgitlab-ce-c3be1517ae3c576f7f4248b82b611a833fe06675.tar.gz
Factor '0' * 40 blank ref constants
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/event_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/event_spec.rb b/spec/models/event_spec.rb
index 1fdd959da9d..1f1bc9ac737 100644
--- a/spec/models/event_spec.rb
+++ b/spec/models/event_spec.rb
@@ -36,7 +36,7 @@ describe Event do
@user = project.owner
data = {
- before: "0000000000000000000000000000000000000000",
+ before: Gitlab::Git::BLANK_SHA,
after: "0220c11b9a3e6c69dc8fd35321254ca9a7b98f7e",
ref: "refs/heads/master",
user_id: @user.id,