diff options
Diffstat (limited to 'spec/controllers/application_controller_spec.rb')
-rw-r--r-- | spec/controllers/application_controller_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/controllers/application_controller_spec.rb b/spec/controllers/application_controller_spec.rb index ddd80b67639..c5306fda0a5 100644 --- a/spec/controllers/application_controller_spec.rb +++ b/spec/controllers/application_controller_spec.rb @@ -105,10 +105,6 @@ RSpec.describe ApplicationController do describe 'session expiration' do controller(described_class) do - # The anonymous controller will report 401 and fail to run any actions. - # Normally, GitLab will just redirect you to sign in. - skip_before_action :authenticate_user!, only: :index - def index render html: 'authenticated' end |