nwops/puppet-retrospec

resource attributes in test cases should have double quotes

logicminds opened this issue · 1 comments

Attributes that contain single quotes should either be escaped or use double quotes when the test is created.

example case

command  => "Invoke-Sqlcmd -Query \"sp_configure 'show adv', 1; RECONFIGURE WITH OVERRIDE; EXEC sp_configure 'contained database authentication', 1;\"",`   and then the test for it ```command: 'Invoke-Sqlcmd -Query \'sp_configure 'show adv', 1; RECONFIGURE WITH OVERRIDE; EXEC sp_configure 'contained database authentication', 1;\'',