diff options
Diffstat (limited to 'spec/controllers/every_controller_spec.rb')
-rw-r--r-- | spec/controllers/every_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/every_controller_spec.rb b/spec/controllers/every_controller_spec.rb index b1519c4ef1e..a1c377eff76 100644 --- a/spec/controllers/every_controller_spec.rb +++ b/spec/controllers/every_controller_spec.rb @@ -17,7 +17,7 @@ RSpec.describe "Every controller" do .compact .select { |route| route[:controller].present? && route[:action].present? } .map { |route| [constantize_controller(route[:controller]), route[:action]] } - .select { |(controller, action)| controller&.include?(ControllerWithFeatureCategory) } + .select { |(controller, action)| controller&.include?(::Gitlab::WithFeatureCategory) } .reject { |(controller, action)| controller == ApplicationController || controller == Devise::UnlocksController } end |