Commit da742a5b authored by Jonathan Schafer's avatar Jonathan Schafer

Fix dasboard to dashboard

parent 9ac61b88
---
title: Fix dasboard to dashboard
merge_request: 41440
author:
type: fixed
......@@ -2,7 +2,7 @@
namespace :security do
root to: 'dashboard#show'
get 'dasboard/settings', to: 'dashboard#settings', as: :settings_dashboard
get 'dashboard/settings', to: 'dashboard#settings', as: :settings_dashboard
resources :projects, only: [:index, :create, :destroy]
resources :vulnerabilities, only: [:index]
......
......@@ -660,7 +660,7 @@ RSpec.describe OperationsController do
project_b.add_developer(user)
end
it 'adds projects to the dasboard' do
it 'adds projects to the dashboard' do
post :create, params: { project_ids: [project_a.id, project_b.id.to_s] }
expect(response).to have_gitlab_http_status(:ok)
......
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