Reduce code repetition in SanitizeExecutor spec
Reduce code repetition in SanitizeExecutor spec

[#129651755] pivotal-cloudops/secrets-sanitizer #16: Arguments for the executors should be hashes

pivotal-cloudops/secrets-sanitizer,pivotal-cloudops/secrets-sanitizer