diff options
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects/autocomplete_sources_controller_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/controllers/projects/autocomplete_sources_controller_spec.rb b/spec/controllers/projects/autocomplete_sources_controller_spec.rb index 79edc261809..a5274b6543e 100644 --- a/spec/controllers/projects/autocomplete_sources_controller_spec.rb +++ b/spec/controllers/projects/autocomplete_sources_controller_spec.rb @@ -114,17 +114,5 @@ RSpec.describe Projects::AutocompleteSourcesController do end end end - - context 'when feature flag is disabled' do - before do - stub_feature_flags(customer_relations: false) - end - - it 'renders 404' do - get :contacts, format: :json, params: { namespace_id: group.path, project_id: project.path } - - expect(response).to have_gitlab_http_status(:not_found) - end - end end end |