Fix dependency check in license approval policies
What does this MR do and why?
This MR fixes a bug in license approval policies when a new dependency found should be checked with allowed/denied license from policy.
Context: &8092 (comment 1278192815)
The MR also updates the spec to use rspec parameterized table syntax.
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 Sashi Kumar Kumaresan