summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/other/tc_state.rb1
-rw-r--r--test/types/tc_type.rb2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/other/tc_state.rb b/test/other/tc_state.rb
index f295a0061..e98c21b67 100644
--- a/test/other/tc_state.rb
+++ b/test/other/tc_state.rb
@@ -5,6 +5,7 @@ if __FILE__ == $0
end
require 'puppet'
+require 'puppet/storage'
require 'test/unit'
# $Id$
diff --git a/test/types/tc_type.rb b/test/types/tc_type.rb
index 53e6a93da..3522539d5 100644
--- a/test/types/tc_type.rb
+++ b/test/types/tc_type.rb
@@ -43,7 +43,7 @@ class TestType < Test::Unit::TestCase
)
assert(
- type.validparameter(type.namevar)
+ type.validparameter?(type.namevar)
)
}
end