Add a test for DescriptionTemplate interface
There have been a few instances of broken pipelines because the milestone type has moved back and forth between Hash and String.
Change Release from String back to Hash (!676 - merged) added code to ensure that the DescriptionTemplate would fail (instead of misbehaving) when a String
instead of a Hash
, however this breaks often enough that a test is needed to ensure the correct type is being used.
This should be pretty straightforward, just mock the API response and check that DescriptionTemplate
receives the release
object as a Hash in retrospective.rb#L18 and retrospective.rb#L46.