From 0d66fa89fc34bfe02d2f6a99dbf66dcd921290fe Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 7 Mar 2013 11:45:44 +0200 Subject: [PATCH] fix stubbed repo --- spec/support/stubbed_repository.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/support/stubbed_repository.rb b/spec/support/stubbed_repository.rb index 106cfa6d..5fd8631a 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