diff options
Diffstat (limited to 'spec/views/layouts/nav')
-rw-r--r-- | spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb b/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb index e7d9a8a4708..d0d220fed66 100644 --- a/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb +++ b/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb @@ -472,24 +472,6 @@ RSpec.describe 'layouts/nav/sidebar/_project' do end end end - - describe 'Product Analytics' do - it 'has a link to the product analytics page' do - render - - expect(rendered).to have_link('Product Analytics', href: project_product_analytics_path(project)) - end - - describe 'when feature flag :product_analytics is disabled' do - it 'does not have a link to the feature flags page' do - stub_feature_flags(product_analytics: false) - - render - - expect(rendered).not_to have_link('Product Analytics') - end - end - end end describe 'Infrastructure' do |