Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
c220f9a0
Commit
c220f9a0
authored
Jul 12, 2016
by
Katarzyna Kobierska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tests to project builds for pending tab
Fix CHANGELOG Fix build spec for pending tab
parent
463f1cb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
CHANGELOG
CHANGELOG
+1
-5
spec/features/builds_spec.rb
spec/features/builds_spec.rb
+12
-0
No files found.
CHANGELOG
View file @
c220f9a0
...
@@ -113,6 +113,7 @@ v 8.9.6
...
@@ -113,6 +113,7 @@ v 8.9.6
- Fix broken migration in MySQL. !5005
- Fix broken migration in MySQL. !5005
- Overwrite Host and X-Forwarded-Host headers in NGINX !5213
- Overwrite Host and X-Forwarded-Host headers in NGINX !5213
- Keeps issue number when importing from Gitlab.com
- Keeps issue number when importing from Gitlab.com
- Add Pending tab for Builds (Katarzyna Kobierska, Urszula Budziszewska)
v 8.9.7 (unreleased)
v 8.9.7 (unreleased)
- Fix import_data wrongly saved as a result of an invalid import_url
- Fix import_data wrongly saved as a result of an invalid import_url
...
@@ -133,11 +134,6 @@ v 8.9.5
...
@@ -133,11 +134,6 @@ v 8.9.5
- Fixed 'use shortcuts' button on docs. !4979
- Fixed 'use shortcuts' button on docs. !4979
- Admin should be able to turn shared runners into specific ones. !4961
- 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)
- 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
- Improve the request / withdraw access button. !4860
v 8.9.4
v 8.9.4
...
...
spec/features/builds_spec.rb
View file @
c220f9a0
...
@@ -13,6 +13,18 @@ describe "Builds" do
...
@@ -13,6 +13,18 @@ describe "Builds" do
end
end
describe
"GET /:project/builds"
do
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
context
"Running scope"
do
before
do
before
do
@build
.
run!
@build
.
run!
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment