Skip to content
代码片段 群组 项目
提交 a4ea2537 编辑于 作者: John McDonnell's avatar John McDonnell 提交者: Andrejs Cunskis
浏览文件

Fix Project Archive Compare E2E Spec

上级 6afb3e23
No related branches found
No related tags found
无相关合并请求
...@@ -66,7 +66,7 @@ def create_project(user, api_client, project_name) ...@@ -66,7 +66,7 @@ def create_project(user, api_client, project_name)
def download_project_archive_via_api(api_client, project, type = 'tar.gz') def download_project_archive_via_api(api_client, project, type = 'tar.gz')
get_project_archive_zip = Runtime::API::Request.new(api_client, project.api_get_archive_path(type)) get_project_archive_zip = Runtime::API::Request.new(api_client, project.api_get_archive_path(type))
project_archive_download = get(get_project_archive_zip.url, raw_response: true) project_archive_download = Support::API.get(get_project_archive_zip.url, raw_response: true)
expect(project_archive_download.code).to eq(200) expect(project_archive_download.code).to eq(200)
project_archive_download.file project_archive_download.file
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
module QA module QA
module Support module Support
module API module API
extend self
HTTP_STATUS_OK = 200 HTTP_STATUS_OK = 200
HTTP_STATUS_CREATED = 201 HTTP_STATUS_CREATED = 201
HTTP_STATUS_NO_CONTENT = 204 HTTP_STATUS_NO_CONTENT = 204
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册