summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-07-12 03:50:52 +0000
committerLuke Kanies <luke@madstop.com>2005-07-12 03:50:52 +0000
commitcc78949a3946ef976562eb3dec9ad31eefa7d4fe (patch)
tree2f87659de6902cb9107e01671404a375f0912cfa /test
parent1f2c866e7fa08c748d4bf75a6997330182d91cf1 (diff)
downloadpuppet-cc78949a3946ef976562eb3dec9ad31eefa7d4fe.tar.gz
puppet-cc78949a3946ef976562eb3dec9ad31eefa7d4fe.tar.xz
puppet-cc78949a3946ef976562eb3dec9ad31eefa7d4fe.zip
in the middle of a bunch of refactoring; committing so that others can try to replicate the segfault i am seeing
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@370 980ebf18-57e1-0310-9a29-db15c13687c0
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