diff options
Diffstat (limited to 'spec/lib/gitlab/rack_attack')
-rw-r--r-- | spec/lib/gitlab/rack_attack/request_spec.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/lib/gitlab/rack_attack/request_spec.rb b/spec/lib/gitlab/rack_attack/request_spec.rb index b8a26a64e5b..5345205e15b 100644 --- a/spec/lib/gitlab/rack_attack/request_spec.rb +++ b/spec/lib/gitlab/rack_attack/request_spec.rb @@ -217,10 +217,11 @@ RSpec.describe Gitlab::RackAttack::Request do subject { request.protected_path? } before do - stub_application_setting(protected_paths: [ - '/protected', - '/secure' - ]) + stub_application_setting( + protected_paths: [ + '/protected', + '/secure' + ]) end where(:path, :expected) do |