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:
authorGabriel Mazetto <brodock@gmail.com>2017-08-23 02:19:35 +0300
committerGabriel Mazetto <brodock@gmail.com>2017-08-25 21:06:06 +0300
commit8f178c4222d917b5f2878beb97642bff0ee5345e (patch)
treef847ee3933703922b4785ec3adb969c57250cd05 /spec/factories/projects.rb
parentce89c425fe51d2317322350bbd8a364c08d97d21 (diff)
Prevent new / renamed project from using a repository path that already exists on disk
There are some redundancies in the validation steps, and that is to preserve current error messages behavior Also few specs have to be changed in order to fix madness in validation logic.
Diffstat (limited to 'spec/factories/projects.rb')
-rw-r--r--spec/factories/projects.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb
index 9ebda0ba03b..7493b0a8b35 100644
--- a/spec/factories/projects.rb
+++ b/spec/factories/projects.rb
@@ -101,8 +101,6 @@ FactoryGirl.define do
# Test repository - https://gitlab.com/gitlab-org/gitlab-test
trait :repository do
- path { 'gitlabhq' }
-
test_repo
transient do