Fix tests and remove app/models/repository.rb
This commit is contained in:
parent
154e54b46e
commit
9dc644635f
6 changed files with 5 additions and 325 deletions
|
@ -1,4 +1,4 @@
|
|||
require "repository"
|
||||
require "gitlab/git/repository"
|
||||
require "project"
|
||||
require "merge_request"
|
||||
require "shell"
|
||||
|
@ -39,7 +39,7 @@ class MergeRequest
|
|||
end
|
||||
end
|
||||
|
||||
class GitLabTestRepo < Repository
|
||||
class GitLabTestRepo < Gitlab::Git::Repository
|
||||
def repo
|
||||
@repo ||= Grit::Repo.new(Rails.root.join('tmp', 'repositories', 'gitlabhq'))
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue