Commit 0d66fa89 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fix stubbed repo

parent ca9098d8
...@@ -43,6 +43,11 @@ class GitLabTestRepo < Repository ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment