Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-4524

Rewrite spec/unit/provider/service/base_spec.rb to stub command execution

    Details

    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2015-05-13
    • Release Notes:
      Not Needed

      Description

      Currently the spec executes ruby to touch, check the existence of, and delete a temporary file to represent the start/status/stop operations of a service.

      This is more difficult to test properly across platforms that simply stubbing the command execution.

      The test should be rewritten to simply stub the appropriate command execution behavior.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  peter.huene Peter Huene
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: