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
Tatuya Kamada
gitlab-ce
Commits
cc3dbf83
Commit
cc3dbf83
authored
Aug 10, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Empty lines around blocks
parent
3eae0641
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
16 deletions
+30
-16
spec/features/projects/branches/download_buttons_spec.rb
spec/features/projects/branches/download_buttons_spec.rb
+7
-4
spec/features/projects/files/download_buttons_spec.rb
spec/features/projects/files/download_buttons_spec.rb
+7
-4
spec/features/projects/main/download_buttons_spec.rb
spec/features/projects/main/download_buttons_spec.rb
+7
-4
spec/features/projects/tags/download_buttons_spec.rb
spec/features/projects/tags/download_buttons_spec.rb
+7
-4
spec/requests/projects/artifacts_controller_spec.rb
spec/requests/projects/artifacts_controller_spec.rb
+2
-0
No files found.
spec/features/projects/branches/download_buttons_spec.rb
View file @
cc3dbf83
...
...
@@ -5,12 +5,15 @@ feature 'Download buttons in branches page', feature: true do
given
(
:role
)
{
:developer
}
given
(
:status
)
{
'success'
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:pipeline
)
do
create
(
:ci_pipeline
,
project:
project
,
sha:
project
.
commit
.
sha
,
ref:
project
.
default_branch
,
status:
status
)
create
(
:ci_pipeline
,
project:
project
,
sha:
project
.
commit
.
sha
,
ref:
project
.
default_branch
,
status:
status
)
end
given!
(
:build
)
do
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
,
...
...
spec/features/projects/files/download_buttons_spec.rb
View file @
cc3dbf83
...
...
@@ -5,12 +5,15 @@ feature 'Download buttons in files tree', feature: true do
given
(
:role
)
{
:developer
}
given
(
:status
)
{
'success'
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:pipeline
)
do
create
(
:ci_pipeline
,
project:
project
,
sha:
project
.
commit
.
sha
,
ref:
project
.
default_branch
,
status:
status
)
create
(
:ci_pipeline
,
project:
project
,
sha:
project
.
commit
.
sha
,
ref:
project
.
default_branch
,
status:
status
)
end
given!
(
:build
)
do
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
,
...
...
spec/features/projects/main/download_buttons_spec.rb
View file @
cc3dbf83
...
...
@@ -5,12 +5,15 @@ feature 'Download buttons in project main page', feature: true do
given
(
:role
)
{
:developer
}
given
(
:status
)
{
'success'
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:pipeline
)
do
create
(
:ci_pipeline
,
project:
project
,
sha:
project
.
commit
.
sha
,
ref:
project
.
default_branch
,
status:
status
)
create
(
:ci_pipeline
,
project:
project
,
sha:
project
.
commit
.
sha
,
ref:
project
.
default_branch
,
status:
status
)
end
given!
(
:build
)
do
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
,
...
...
spec/features/projects/tags/download_buttons_spec.rb
View file @
cc3dbf83
...
...
@@ -6,12 +6,15 @@ feature 'Download buttons in tags page', feature: true do
given
(
:status
)
{
'success'
}
given
(
:tag
)
{
'v1.0.0'
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:pipeline
)
do
create
(
:ci_pipeline
,
project:
project
,
sha:
project
.
commit
.
sha
,
ref:
tag
,
status:
status
)
create
(
:ci_pipeline
,
project:
project
,
sha:
project
.
commit
.
sha
,
ref:
tag
,
status:
status
)
end
given!
(
:build
)
do
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
,
...
...
spec/requests/projects/artifacts_controller_spec.rb
View file @
cc3dbf83
...
...
@@ -3,12 +3,14 @@ require 'spec_helper'
describe
Projects
::
ArtifactsController
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
)
}
let
(
:pipeline
)
do
create
(
:ci_pipeline
,
project:
project
,
sha:
project
.
commit
.
sha
,
ref:
project
.
default_branch
)
end
let
(
:build
)
{
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
)
}
describe
'GET /:project/builds/artifacts/:ref_name/browse?job=name'
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