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
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-10-03 12:06:32 +0300
committerDouwe Maan <douwe@gitlab.com>2018-10-03 12:06:32 +0300
commita5cfacc281855e3d2f1da4b08d4579a089c3d311 (patch)
treebebfabbe6dc864550ac774744a5c568b0c259d76 /spec/models/namespace_spec.rb
parent2d33579cbbf134b817329ab2589882e3587870aa (diff)
parenta99bf447a24957cf11b89d4f04a2b84613367ef2 (diff)
Merge branch 'remove-rugged' into 'master'
Remove Gitlab::Git::Repository#rugged See merge request gitlab-org/gitlab-ce!22039
Diffstat (limited to 'spec/models/namespace_spec.rb')
-rw-r--r--spec/models/namespace_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/models/namespace_spec.rb b/spec/models/namespace_spec.rb
index 22dc81acfda..8913644a3ce 100644
--- a/spec/models/namespace_spec.rb
+++ b/spec/models/namespace_spec.rb
@@ -2,6 +2,7 @@ require 'spec_helper'
describe Namespace do
include ProjectForksHelper
+ include GitHelpers
let!(:namespace) { create(:namespace) }
let(:gitlab_shell) { Gitlab::Shell.new }
@@ -361,9 +362,7 @@ describe Namespace do
end
def project_rugged(project)
- Gitlab::GitalyClient::StorageSettings.allow_disk_access do
- project.repository.rugged
- end
+ rugged_repo(project.repository)
end
end