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
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
...
@@ -5,12 +5,15 @@ feature 'Download buttons in branches page', feature: true do
given
(
:role
)
{
:developer
}
given
(
:role
)
{
:developer
}
given
(
:status
)
{
'success'
}
given
(
:status
)
{
'success'
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:pipeline
)
do
given
(
:pipeline
)
do
create
(
:ci_pipeline
,
project:
project
,
create
(
:ci_pipeline
,
sha:
project
.
commit
.
sha
,
project:
project
,
ref:
project
.
default_branch
,
sha:
project
.
commit
.
sha
,
status:
status
)
ref:
project
.
default_branch
,
status:
status
)
end
end
given!
(
:build
)
do
given!
(
:build
)
do
create
(
:ci_build
,
:success
,
:artifacts
,
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
,
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
...
@@ -5,12 +5,15 @@ feature 'Download buttons in files tree', feature: true do
given
(
:role
)
{
:developer
}
given
(
:role
)
{
:developer
}
given
(
:status
)
{
'success'
}
given
(
:status
)
{
'success'
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:pipeline
)
do
given
(
:pipeline
)
do
create
(
:ci_pipeline
,
project:
project
,
create
(
:ci_pipeline
,
sha:
project
.
commit
.
sha
,
project:
project
,
ref:
project
.
default_branch
,
sha:
project
.
commit
.
sha
,
status:
status
)
ref:
project
.
default_branch
,
status:
status
)
end
end
given!
(
:build
)
do
given!
(
:build
)
do
create
(
:ci_build
,
:success
,
:artifacts
,
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
,
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
...
@@ -5,12 +5,15 @@ feature 'Download buttons in project main page', feature: true do
given
(
:role
)
{
:developer
}
given
(
:role
)
{
:developer
}
given
(
:status
)
{
'success'
}
given
(
:status
)
{
'success'
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:pipeline
)
do
given
(
:pipeline
)
do
create
(
:ci_pipeline
,
project:
project
,
create
(
:ci_pipeline
,
sha:
project
.
commit
.
sha
,
project:
project
,
ref:
project
.
default_branch
,
sha:
project
.
commit
.
sha
,
status:
status
)
ref:
project
.
default_branch
,
status:
status
)
end
end
given!
(
:build
)
do
given!
(
:build
)
do
create
(
:ci_build
,
:success
,
:artifacts
,
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
,
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
...
@@ -6,12 +6,15 @@ feature 'Download buttons in tags page', feature: true do
given
(
:status
)
{
'success'
}
given
(
:status
)
{
'success'
}
given
(
:tag
)
{
'v1.0.0'
}
given
(
:tag
)
{
'v1.0.0'
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:project
)
{
create
(
:project
)
}
given
(
:pipeline
)
do
given
(
:pipeline
)
do
create
(
:ci_pipeline
,
project:
project
,
create
(
:ci_pipeline
,
sha:
project
.
commit
.
sha
,
project:
project
,
ref:
tag
,
sha:
project
.
commit
.
sha
,
status:
status
)
ref:
tag
,
status:
status
)
end
end
given!
(
:build
)
do
given!
(
:build
)
do
create
(
:ci_build
,
:success
,
:artifacts
,
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
,
pipeline:
pipeline
,
...
...
spec/requests/projects/artifacts_controller_spec.rb
View file @
cc3dbf83
...
@@ -3,12 +3,14 @@ require 'spec_helper'
...
@@ -3,12 +3,14 @@ require 'spec_helper'
describe
Projects
::
ArtifactsController
do
describe
Projects
::
ArtifactsController
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
)
}
let
(
:project
)
{
create
(
:project
)
}
let
(
:pipeline
)
do
let
(
:pipeline
)
do
create
(
:ci_pipeline
,
create
(
:ci_pipeline
,
project:
project
,
project:
project
,
sha:
project
.
commit
.
sha
,
sha:
project
.
commit
.
sha
,
ref:
project
.
default_branch
)
ref:
project
.
default_branch
)
end
end
let
(
:build
)
{
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
)
}
let
(
:build
)
{
create
(
:ci_build
,
:success
,
:artifacts
,
pipeline:
pipeline
)
}
describe
'GET /:project/builds/artifacts/:ref_name/browse?job=name'
do
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