Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
c220f9a0
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c220f9a0
编写于
7月 12, 2016
作者:
K
Katarzyna Kobierska
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add tests to project builds for pending tab
Fix CHANGELOG Fix build spec for pending tab
上级
463f1cb5
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
13 addition
and
5 deletion
+13
-5
CHANGELOG
CHANGELOG
+1
-5
spec/features/builds_spec.rb
spec/features/builds_spec.rb
+12
-0
未找到文件。
CHANGELOG
浏览文件 @
c220f9a0
...
...
@@ -113,6 +113,7 @@ v 8.9.6
- Fix broken migration in MySQL. !5005
- Overwrite Host and X-Forwarded-Host headers in NGINX !5213
- Keeps issue number when importing from Gitlab.com
- Add Pending tab for Builds (Katarzyna Kobierska, Urszula Budziszewska)
v 8.9.7 (unreleased)
- Fix import_data wrongly saved as a result of an invalid import_url
...
...
@@ -133,11 +134,6 @@ v 8.9.5
- Fixed 'use shortcuts' button on docs. !4979
- Admin should be able to turn shared runners into specific ones. !4961
- Update RedCloth to 4.3.2 for CVE-2012-6684. !4929 (Takuya Noguchi)
- Add Pending tab for Builds
v 8.9.4 (unreleased)
- Ensure references to private repos aren't shown to logged-out users
v 8.9.5 (unreleased)
- Improve the request / withdraw access button. !4860
v 8.9.4
...
...
spec/features/builds_spec.rb
浏览文件 @
c220f9a0
...
...
@@ -13,6 +13,18 @@ describe "Builds" do
end
describe
"GET /:project/builds"
do
context
"Pending scope"
do
before
do
visit
namespace_project_builds_path
(
@project
.
namespace
,
@project
,
scope: :pending
)
end
it
{
expect
(
page
).
to
have_link
'Cancel running'
}
it
{
expect
(
page
).
to
have_selector
(
'.nav-links li.active'
,
text:
'Pending'
)
}
it
{
expect
(
page
).
to
have_content
@build
.
short_sha
}
it
{
expect
(
page
).
to
have_content
@build
.
ref
}
it
{
expect
(
page
).
to
have_content
@build
.
name
}
end
context
"Running scope"
do
before
do
@build
.
run!
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录