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
81132171
Commit
81132171
authored
Dec 02, 2019
by
Tetiana Chupryna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix stabbed feature
parent
cc73568d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
ee/spec/controllers/projects/dependencies_controller_spec.rb
ee/spec/controllers/projects/dependencies_controller_spec.rb
+2
-2
ee/spec/controllers/projects/security/dependencies_controller_spec.rb
...rollers/projects/security/dependencies_controller_spec.rb
+2
-2
ee/spec/requests/api/dependencies_spec.rb
ee/spec/requests/api/dependencies_spec.rb
+1
-1
No files found.
ee/spec/controllers/projects/dependencies_controller_spec.rb
View file @
81132171
...
...
@@ -19,7 +19,7 @@ describe Projects::DependenciesController do
render_views
before
do
stub_licensed_features
(
dependency_
list
:
true
)
stub_licensed_features
(
dependency_
scanning
:
true
)
end
it
'renders the show template'
do
...
...
@@ -52,7 +52,7 @@ describe Projects::DependenciesController do
context
'when feature is available'
do
before
do
stub_licensed_features
(
dependency_
list
:
true
)
stub_licensed_features
(
dependency_
scanning
:
true
)
end
it
'returns 404'
do
...
...
ee/spec/controllers/projects/security/dependencies_controller_spec.rb
View file @
81132171
...
...
@@ -22,7 +22,7 @@ describe Projects::Security::DependenciesController do
context
'when feature is available'
do
before
do
stub_licensed_features
(
dependency_
list
:
true
,
license_management:
true
,
security_dashboard:
true
)
stub_licensed_features
(
dependency_
scanning
:
true
,
license_management:
true
,
security_dashboard:
true
)
end
context
'when usage ping is collected'
do
...
...
@@ -228,7 +228,7 @@ describe Projects::Security::DependenciesController do
let
(
:user
)
{
guest
}
before
do
stub_licensed_features
(
dependency_
list
:
true
)
stub_licensed_features
(
dependency_
scanning
:
true
)
project
.
add_guest
(
user
)
get
:index
,
params:
params
,
format: :json
...
...
ee/spec/requests/api/dependencies_spec.rb
View file @
81132171
...
...
@@ -11,7 +11,7 @@ describe API::Dependencies do
let
(
:params
)
{
{}
}
before
do
stub_licensed_features
(
dependency_
list
:
true
,
security_dashboard:
true
)
stub_licensed_features
(
dependency_
scanning
:
true
,
security_dashboard:
true
)
end
context
'with an authorized user with proper permissions'
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