fix stubbed repo
This commit is contained in:
parent
ca9098d898
commit
0d66fa89fc
1 changed files with 5 additions and 0 deletions
|
@ -43,6 +43,11 @@ class GitLabTestRepo < Repository
|
|||
def repo
|
||||
@repo ||= Grit::Repo.new(Rails.root.join('tmp', 'repositories', 'gitlabhq'))
|
||||
end
|
||||
|
||||
# patch repo size (in mb)
|
||||
def size
|
||||
12.45
|
||||
end
|
||||
end
|
||||
|
||||
module Gitlab
|
||||
|
|
Loading…
Reference in a new issue