(maint) Fix rspec tests for noop flag in puppetdb terminus 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].
(maint) Fix rspec tests for noop flag in puppetdb terminus
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].

senior/puppetdb,waynr/puppetdb,puppetlabs/puppetdb,rbrw/puppetdb,kbarber/puppetdb,rbrw/puppetdb,senior/puppetdb,puppetlabs/puppetdb,rbrw/puppetdb,rbrw/puppetdb,senior/puppetdb,mullr/puppetdb,kbarber/puppetdb,kbarber/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,rbrw/puppetdb,puppetlabs/puppetdb,mullr/puppetdb,mullr/puppetdb,waynr/puppetdb,mullr/puppetdb,senior/puppetdb,mullr/puppetdb,waynr/puppetdb,kbarber/puppetdb,waynr/puppetdb