Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-2811

(maint) Fix rspec tests for noop flag in puppetdb terminus

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 4.2.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1

      Description

      Originally, the tests were trying to set noop flag directly on Puppet::Transaction::Report but that failed because the noop flag has only attr_reader.
      Now, the puppet run mode (noop/enforcement) is simulated by setting Puppet[:noop].

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gepetto-bot gepetto-bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support