summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-01-19 12:48:33 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2019-01-19 12:48:33 +0000
commitd4d4ebadfb373518013382560b1f505eb6217f13 (patch)
tree64cb74631fb61ae7b4f55c14467bee0dac3e8ac6 /spec/features
parent49efb57914b7daac651e0b3fbeb850584be66ce7 (diff)
parent77eff52afa379d653c47ecc64e75779a330be5e1 (diff)
downloadgitlab-ce-d4d4ebadfb373518013382560b1f505eb6217f13.tar.gz
Merge branch '56213-remove-error_tracking-feature-flag' into 'master'
Resolve "Remove `error_tracking` feature flag" Closes #56213 See merge request gitlab-org/gitlab-ce!24306
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/settings/operations_settings_spec.rb24
1 files changed, 4 insertions, 20 deletions
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