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
Boxiang Sun
gitlab-ce
Commits
b4e8e7ed
Commit
b4e8e7ed
authored
Mar 14, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add feartue spec. Fix failed test
parent
aa91fdff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
spec/features/projects/pipelines/pipelines_spec.rb
spec/features/projects/pipelines/pipelines_spec.rb
+12
-0
spec/migrations/migrate_old_artifacts_spec.rb
spec/migrations/migrate_old_artifacts_spec.rb
+1
-1
No files found.
spec/features/projects/pipelines/pipelines_spec.rb
View file @
b4e8e7ed
...
...
@@ -349,6 +349,18 @@ describe 'Pipelines', :js do
it
{
expect
(
page
).
not_to
have_selector
(
'.build-artifacts'
)
}
end
context
'with trace artifact'
do
before
do
create
(
:ci_build
,
:success
,
:trace_artifact
,
pipeline:
pipeline
)
visit_project_pipelines
end
it
'does not show trace artifact as artifacts'
expect
(
page
).
not_to
have_selector
(
'.build-artifacts'
)
end
end
end
context
'mini pipeline graph'
do
...
...
spec/migrations/migrate_old_artifacts_spec.rb
View file @
b4e8e7ed
...
...
@@ -66,7 +66,7 @@ describe MigrateOldArtifacts do
end
it
'all files do have artifacts'
do
Ci
::
Build
.
with_artifacts
do
|
build
|
Ci
::
Build
.
with_artifacts
(
:archive
)
do
|
build
|
expect
(
build
).
to
have_artifacts
end
end
...
...
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