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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
ab85d969
Commit
ab85d969
authored
Dec 08, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec
parent
14969ac8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
spec/features/builds_spec.rb
spec/features/builds_spec.rb
+5
-5
No files found.
spec/features/builds_spec.rb
View file @
ab85d969
...
@@ -19,7 +19,7 @@ describe "Builds" do
...
@@ -19,7 +19,7 @@ describe "Builds" do
end
end
it
{
expect
(
page
).
to
have_content
'Running'
}
it
{
expect
(
page
).
to
have_content
'Running'
}
it
{
expect
(
page
).
to
have_content
'Cancel
all
'
}
it
{
expect
(
page
).
to
have_content
'Cancel
running
'
}
it
{
expect
(
page
).
to
have_content
@build
.
short_sha
}
it
{
expect
(
page
).
to
have_content
@build
.
short_sha
}
it
{
expect
(
page
).
to
have_content
@build
.
ref
}
it
{
expect
(
page
).
to
have_content
@build
.
ref
}
it
{
expect
(
page
).
to
have_content
@build
.
name
}
it
{
expect
(
page
).
to
have_content
@build
.
name
}
...
@@ -32,7 +32,7 @@ describe "Builds" do
...
@@ -32,7 +32,7 @@ describe "Builds" do
end
end
it
{
expect
(
page
).
to
have_content
'No builds to show'
}
it
{
expect
(
page
).
to
have_content
'No builds to show'
}
it
{
expect
(
page
).
to
have_content
'Cancel
all
'
}
it
{
expect
(
page
).
to
have_content
'Cancel
running
'
}
end
end
context
"All builds"
do
context
"All builds"
do
...
@@ -45,7 +45,7 @@ describe "Builds" do
...
@@ -45,7 +45,7 @@ describe "Builds" do
it
{
expect
(
page
).
to
have_content
@build
.
short_sha
}
it
{
expect
(
page
).
to
have_content
@build
.
short_sha
}
it
{
expect
(
page
).
to
have_content
@build
.
ref
}
it
{
expect
(
page
).
to
have_content
@build
.
ref
}
it
{
expect
(
page
).
to
have_content
@build
.
name
}
it
{
expect
(
page
).
to
have_content
@build
.
name
}
it
{
expect
(
page
).
to_not
have_content
'Cancel
all
'
}
it
{
expect
(
page
).
to_not
have_content
'Cancel
running
'
}
end
end
end
end
...
@@ -53,11 +53,11 @@ describe "Builds" do
...
@@ -53,11 +53,11 @@ describe "Builds" do
before
do
before
do
@build
.
run!
@build
.
run!
visit
namespace_project_builds_path
(
@gl_project
.
namespace
,
@gl_project
)
visit
namespace_project_builds_path
(
@gl_project
.
namespace
,
@gl_project
)
click_link
"Cancel
all
"
click_link
"Cancel
running
"
end
end
it
{
expect
(
page
).
to
have_content
'No builds to show'
}
it
{
expect
(
page
).
to
have_content
'No builds to show'
}
it
{
expect
(
page
).
to_not
have_content
'Cancel
all
'
}
it
{
expect
(
page
).
to_not
have_content
'Cancel
running
'
}
end
end
describe
"GET /:project/builds/:id"
do
describe
"GET /:project/builds/:id"
do
...
...
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