From 77eff52afa379d653c47ecc64e75779a330be5e1 Mon Sep 17 00:00:00 2001 From: Peter Leitzen Date: Thu, 10 Jan 2019 18:50:14 +0100 Subject: Remove `error_tracking` feature flag We introduced the feature flag `error_tracking` to test the Sentry MVC safely. After the successful test, we remove it again. --- .../projects/settings/operations_settings_spec.rb | 24 ++++------------------ 1 file changed, 4 insertions(+), 20 deletions(-) (limited to 'spec/features') diff --git a/spec/features/projects/settings/operations_settings_spec.rb b/spec/features/projects/settings/operations_settings_spec.rb index 1f2328a6dd8..06290c67c70 100644 --- a/spec/features/projects/settings/operations_settings_spec.rb +++ b/spec/features/projects/settings/operations_settings_spec.rb @@ -8,32 +8,16 @@ describe 'Projects > Settings > For a forked project', :js do let(:role) { :maintainer } before do - stub_feature_flags(error_tracking: true) sign_in(user) project.add_role(user, role) end describe 'Sidebar > Operations' do - context 'when sidebar feature flag enabled' do - it 'renders the settings link in the sidebar' do - visit project_path(project) - wait_for_requests + it 'renders the settings link in the sidebar' do + visit project_path(project) + wait_for_requests - expect(page).to have_selector('a[title="Operations"]', visible: false) - end - end - - context 'when sidebar feature flag disabled' do - before do - stub_feature_flags(error_tracking: false) - end - - it 'does not render the settings link in the sidebar' do - visit project_path(project) - wait_for_requests - - expect(page).not_to have_selector('a[title="Operations"]', visible: false) - end + expect(page).to have_selector('a[title="Operations"]', visible: false) end end end -- cgit v1.2.1