diff options
Diffstat (limited to 'spec/helpers/environment_helper_spec.rb')
-rw-r--r-- | spec/helpers/environment_helper_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/helpers/environment_helper_spec.rb b/spec/helpers/environment_helper_spec.rb index 64735f8b23b..b9316e46d9d 100644 --- a/spec/helpers/environment_helper_spec.rb +++ b/spec/helpers/environment_helper_spec.rb @@ -68,17 +68,5 @@ RSpec.describe EnvironmentHelper, feature_category: :environment_management do graphql_etag_key: environment.etag_cache_key }.to_json) end - - context 'when metrics dashboard feature is available' do - before do - stub_feature_flags(remove_monitor_metrics: false) - end - - it 'includes metrics path' do - expect(Gitlab::Json.parse(subject)).to include( - 'environment_metrics_path' => project_metrics_dashboard_path(project, environment: environment) - ) - end - end end end |