Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7082

scheduled_task: Remove use of stub (Rspec 2.0) from tests

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Low
    • Resolution: Unresolved
    • None
    • None
    • scheduled_task
    • None
    • Windows
    • 1
    • Needs Assessment

    Description

      The stub command is considered old and shouldn't be used as per
      https://relishapp.com/rspec/rspec-mocks/v/3-7/docs/old-syntax/stub

      e.g. in
      https://github.com/puppetlabs/puppetlabs-scheduled_task/blob/b06f6ef19fd4094738ccf61cc29b36b05a6b9111/spec/unit/puppet/provider/scheduled_task/win32_taskscheduler_spec.rb#L145-L147

      This ticket will track the work to remove the usage of older rspec things and use Rspec 3.x equivalents.

      Attachments

        Activity

          People

            Unassigned Unassigned
            glenn.sarti Glenn Sarti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Zendesk Support