Commit 0d66fa89fc34bfe02d2f6a99dbf66dcd921290fe

Authored by Dmitriy Zaporozhets
1 parent ca9098d8

fix stubbed repo

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
spec/support/stubbed_repository.rb
... ... @@ -43,6 +43,11 @@ class GitLabTestRepo < Repository
43 43 def repo
44 44 @repo ||= Grit::Repo.new(Rails.root.join('tmp', 'repositories', 'gitlabhq'))
45 45 end
  46 +
  47 + # patch repo size (in mb)
  48 + def size
  49 + 12.45
  50 + end
46 51 end
47 52  
48 53 module Gitlab
... ...