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
06bd09eb
Commit
06bd09eb
authored
Feb 04, 2020
by
Tetiana Chupryna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up test
parent
adf82f85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ee/spec/presenters/ci/pipeline_presenter_spec.rb
ee/spec/presenters/ci/pipeline_presenter_spec.rb
+5
-1
No files found.
ee/spec/presenters/ci/pipeline_presenter_spec.rb
View file @
06bd09eb
...
...
@@ -26,7 +26,11 @@ describe Ci::PipelinePresenter do
end
describe
'#expose_security_dashboard?'
do
subject
{
pipeline
.
expose_security_dashboard?
}
subject
{
presenter
.
expose_security_dashboard?
}
before
do
stub_licensed_features
(
dependency_scanning:
true
,
license_management:
true
)
end
context
'when there is an artifact of a right type'
do
let!
(
:build
)
{
create
(
:ee_ci_build
,
:dependency_scanning
,
pipeline:
pipeline
)
}
...
...
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