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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
fa2b58ec
Commit
fa2b58ec
authored
Mar 22, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert spec/features/projects/builds_spec.rb
parent
e1394f44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
spec/features/projects/builds_spec.rb
spec/features/projects/builds_spec.rb
+0
-28
No files found.
spec/features/projects/builds_spec.rb
View file @
fa2b58ec
...
...
@@ -492,34 +492,6 @@ feature 'Builds', :feature do
it
{
expect
(
page
.
status_code
).
to
eq
(
404
)
}
end
context
'when Project is public and builds_access_level is Everyone with access'
do
let
(
:project
)
{
create
(
:project
,
:public
,
:builds_enabled
)
}
context
'when user belongs to the project'
do
before
do
visit
trace_namespace_project_build_path
(
project
.
namespace
,
project
,
build
,
format: :json
)
end
it
'traces build log'
do
expect
(
page
).
to
have_http_status
(
:ok
)
end
end
context
'when user does not belong to the project'
do
let
(
:non_member
)
{
create
(
:user
)
}
before
do
logout
# Logout from :developer
login_as
(
non_member
)
visit
trace_namespace_project_build_path
(
project
.
namespace
,
project
,
build
,
format: :json
)
end
it
'traces build log'
do
expect
(
page
).
to
have_http_status
(
:ok
)
end
end
end
end
describe
"GET /:project/builds/:id/status"
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