diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-13 09:06:41 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-13 09:06:41 +0000 |
commit | 4f01ac5ba0bf72427ed4fef9b229d056dbb60e89 (patch) | |
tree | 55f2bfd319a18c05ac4e4401c7a0d7b13dd3d74f /spec/controllers/projects/grafana_api_controller_spec.rb | |
parent | 213ce7805856f2cc1d019a03c76ae0d098337c26 (diff) | |
download | gitlab-ce-4f01ac5ba0bf72427ed4fef9b229d056dbb60e89.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/projects/grafana_api_controller_spec.rb')
-rw-r--r-- | spec/controllers/projects/grafana_api_controller_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/controllers/projects/grafana_api_controller_spec.rb b/spec/controllers/projects/grafana_api_controller_spec.rb index 96a12efdcfc..0ef96514961 100644 --- a/spec/controllers/projects/grafana_api_controller_spec.rb +++ b/spec/controllers/projects/grafana_api_controller_spec.rb @@ -164,17 +164,5 @@ describe Projects::GrafanaApiController do it_behaves_like 'error response', :bad_request end end - - context 'when grafana embeds are not enabled' do - before do - stub_feature_flags(gfm_grafana_integration: false) - end - - it 'returns 403 immediately' do - get :metrics_dashboard, params: params - - expect(response).to have_gitlab_http_status(:forbidden) - end - end end end |