Skip to content

RSpec: Simplify setting up CSP helper

Peter Leitzen requested to merge pl-spec-csp-simplify into master

What does this MR do and why?

This MR unifies two helpers into one by using default argument for CSP if it's not passed and allowing to provide times as a keyword argument.

Came up while reviewing !103161 (merged).

How to set up and validate locally

Run specs.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports