Commit 81132171 authored by Tetiana Chupryna's avatar Tetiana Chupryna

Fix stabbed feature

parent cc73568d
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment