diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-31 18:50:17 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-31 18:50:17 +0300 |
| commit | 9dc644635f99dffa26555eeb1c92f988221ccb6a (patch) | |
| tree | ef03c5dbc3a163b30cbbfdf77545bfcc9fb466f8 /spec/support | |
| parent | 154e54b46e01615bc13f5e3ac2d0f07f7a27464d (diff) | |
| download | gitlab-ce-9dc644635f99dffa26555eeb1c92f988221ccb6a.tar.gz | |
Fix tests and remove app/models/repository.rb
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/stubbed_repository.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/stubbed_repository.rb b/spec/support/stubbed_repository.rb index 6376c8d5ea1..68c380e6f4f 100644 --- a/spec/support/stubbed_repository.rb +++ b/spec/support/stubbed_repository.rb @@ -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 |
