RSpec: Simplify setting up CSP helper
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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Peter Leitzen