As I feel I'm missing something: Bill is validating its template toward a pre-generated file, so the diff would be against it. Actually if the test fail it shows the rendered content and the expected content, which is hard to compare for long text. Having the actual_content and expected_content (actual vars in chefspec), adding a diff of them when its not a regex nor matcher sounds a good idea to speed up spotting the error. (I'm unsure of how to call the chef helper method to make the diff that said) @Ranjib Did I missed a point somewhere ? I don't understand your 'we don't have an existing file' message. Le 2015-01-08 07:14, Ranjib Dey a écrit :
|
Archive powered by MHonArc 2.6.16.