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:
authorRémy Coutable <remy@rymai.me>2016-12-16 19:44:22 +0300
committerRémy Coutable <remy@rymai.me>2016-12-19 19:35:51 +0300
commitab06313c36fc5856b2472d3dfcb966a8c6341d0b (patch)
treeea6d499de443ada8364337c194e1d08b4e28682f /spec/lib/gitlab/github_import
parente046e4c14d06a19cc30a679f4943c77b56ee6d0c (diff)
Add Project#gitea_import?
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/lib/gitlab/github_import')
-rw-r--r--spec/lib/gitlab/github_import/importer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/github_import/importer_spec.rb b/spec/lib/gitlab/github_import/importer_spec.rb
index 0a03b7353f6..72421832ffc 100644
--- a/spec/lib/gitlab/github_import/importer_spec.rb
+++ b/spec/lib/gitlab/github_import/importer_spec.rb
@@ -192,7 +192,7 @@ describe Gitlab::GithubImport::Importer, lib: true do
]
}
- unless project.import_type == 'gitea'
+ unless project.gitea_import?
error[:errors] << { type: :release, url: "#{api_root}/repos/octocat/Hello-World/releases/2", errors: "Validation failed: Description can't be blank" }
end