[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:31:14 UTC 2010


The following commit has been merged in the upstream branch:
commit f4ef039245e14d278955f0692296511e4e45c744
Author: Luke Kanies <luke at reductivelabs.com>
Date:   Tue Mar 23 10:31:55 2010 -0700

    Changing REST report integration test to use new interface
    
    Signed-off-by: Luke Kanies <luke at reductivelabs.com>

diff --git a/spec/integration/indirector/report/rest.rb b/spec/integration/indirector/report/rest.rb
index a3894f9..76b3b90 100644
--- a/spec/integration/indirector/report/rest.rb
+++ b/spec/integration/indirector/report/rest.rb
@@ -74,7 +74,7 @@ describe "Report REST Terminus" do
             :failed_restarts => 1,
             :scheduled => 10
         }
-        report.newmetric(:resources, resourcemetrics)
+        report.add_metric(:resources, resourcemetrics)
 
         timemetrics = {
             :resource1 => 10,
@@ -82,13 +82,12 @@ describe "Report REST Terminus" do
             :resource3 => 40,
             :resource4 => 20,
         }
-        report.newmetric(:times, timemetrics)
+        report.add_metric(:times, timemetrics)
 
-        report.newmetric(:changes,
+        report.add_metric(:changes,
             :total => 20
         )
 
-        report.time = Time.now
         report.save
     end
 end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list