summaryrefslogtreecommitdiffstats
path: root/test/server
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-07 06:47:10 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-07 06:47:10 +0000
commitd4031312ecddc6fab15b5bc9693b8af0a23a57b8 (patch)
treeba48576ea294a4a72201a18e093bca4d6ce1537d /test/server
parentf6f72f2288e3e3427abf0883a7ec507becc90f08 (diff)
downloadpuppet-d4031312ecddc6fab15b5bc9693b8af0a23a57b8.tar.gz
puppet-d4031312ecddc6fab15b5bc9693b8af0a23a57b8.tar.xz
puppet-d4031312ecddc6fab15b5bc9693b8af0a23a57b8.zip
Merging the state-rename branch. This includes the diff from version 2156 to 2168. All states should now be properties, with backward compatibility for the types that restricted themselves to the methods.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2169 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/server')
-rwxr-xr-xtest/server/resource.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/server/resource.rb b/test/server/resource.rb
index 218b65f74..5a2f602ba 100755
--- a/test/server/resource.rb
+++ b/test/server/resource.rb
@@ -79,12 +79,12 @@ class TestResourceServer < Test::Unit::TestCase
assert(object, "Could not create type")
- retrieve.each do |state|
- assert(object.should(state), "Did not retrieve %s" % state)
+ retrieve.each do |property|
+ assert(object.should(property), "Did not retrieve %s" % property)
end
- ignore.each do |state|
- assert(! object.should(state), "Incorrectly retrieved %s" % state)
+ ignore.each do |property|
+ assert(! object.should(property), "Incorrectly retrieved %s" % property)
end
if i == 0
@@ -154,12 +154,12 @@ class TestResourceServer < Test::Unit::TestCase
assert(object, "Could not create type")
- retrieve.each do |state|
- assert(object.should(state), "Did not retrieve %s" % state)
+ retrieve.each do |property|
+ assert(object.should(property), "Did not retrieve %s" % property)
end
- ignore.each do |state|
- assert(! object.should(state), "Incorrectly retrieved %s" % state)
+ ignore.each do |property|
+ assert(! object.should(property), "Incorrectly retrieved %s" % property)
end
assert_events([:directory_created], object)