Commit 0d66fa89fc34bfe02d2f6a99dbf66dcd921290fe
1 parent
ca9098d8
Exists in
master
and in
4 other branches
fix stubbed repo
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
spec/support/stubbed_repository.rb
@@ -43,6 +43,11 @@ class GitLabTestRepo < Repository | @@ -43,6 +43,11 @@ class GitLabTestRepo < Repository | ||
43 | def repo | 43 | def repo |
44 | @repo ||= Grit::Repo.new(Rails.root.join('tmp', 'repositories', 'gitlabhq')) | 44 | @repo ||= Grit::Repo.new(Rails.root.join('tmp', 'repositories', 'gitlabhq')) |
45 | end | 45 | end |
46 | + | ||
47 | + # patch repo size (in mb) | ||
48 | + def size | ||
49 | + 12.45 | ||
50 | + end | ||
46 | end | 51 | end |
47 | 52 | ||
48 | module Gitlab | 53 | module Gitlab |