mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-26 21:16:06 +10:00
fix stubbed repo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user