summaryrefslogtreecommitdiffstats
path: root/test/other/metrics.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/other/metrics.rb')
-rw-r--r--test/other/metrics.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/other/metrics.rb b/test/other/metrics.rb
index c6a563bb2..380ee30bd 100644
--- a/test/other/metrics.rb
+++ b/test/other/metrics.rb
@@ -1,14 +1,7 @@
-if __FILE__ == $0
- $:.unshift '..'
- $:.unshift '../../lib'
- $puppetbase = "../.."
-end
-
require 'puppet/metric'
require 'puppet'
require 'puppettest'
require 'puppet/type'
-require 'test/unit'
$haverrd = true
begin
@@ -19,7 +12,7 @@ end
if $haverrd
class TestMetric < Test::Unit::TestCase
- include TestPuppet
+ include PuppetTest
def gendata
totalmax = 1000