I'm stumped on why this :command => line is needed!

The :name and :special properties should suffice to make the provider manage the correct entity. That works through puppet apply in the exact same scenario. If omitted here, however, the test will falsely add a new job with the same name, but empty command.

This makes absolutely no sense to me.