fix stubbed repo

This commit is contained in:
Dmitriy Zaporozhets 2013-03-07 11:45:44 +02:00
parent ca9098d898
commit 0d66fa89fc

View file

@ -43,6 +43,11 @@ class GitLabTestRepo < Repository
def repo def repo
@repo ||= Grit::Repo.new(Rails.root.join('tmp', 'repositories', 'gitlabhq')) @repo ||= Grit::Repo.new(Rails.root.join('tmp', 'repositories', 'gitlabhq'))
end end
# patch repo size (in mb)
def size
12.45
end
end end
module Gitlab module Gitlab