Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-07 13:45:44 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-07 13:45:44 +0400
commit0d66fa89fc34bfe02d2f6a99dbf66dcd921290fe (patch)
tree1a68f95d1071d12e2553c41c19c7c98f870d3009 /spec
parentca9098d8982041ba76402c80c9018beb10836db8 (diff)
fix stubbed repo
Diffstat (limited to 'spec')
-rw-r--r--spec/support/stubbed_repository.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/support/stubbed_repository.rb b/spec/support/stubbed_repository.rb
index 106cfa6d55f..5fd8631a335 100644
--- a/spec/support/stubbed_repository.rb
+++ b/spec/support/stubbed_repository.rb
@@ -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