summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-04-07 13:42:17 -0700
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit50ed75b5c2bca5edeec2a3a6f60f6b5c16483a1a (patch)
treedbf940ba557484380a9e5faae4f9c57e3eee3711 /test
parent177907935b62fe01e5de182abb6c9c21f2f3bfd4 (diff)
downloadpuppet-50ed75b5c2bca5edeec2a3a6f60f6b5c16483a1a.tar.gz
puppet-50ed75b5c2bca5edeec2a3a6f60f6b5c16483a1a.tar.xz
puppet-50ed75b5c2bca5edeec2a3a6f60f6b5c16483a1a.zip
Remove test that tests internal class structures which have changed.
Diffstat (limited to 'test')
-rwxr-xr-xtest/other/transactions.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/other/transactions.rb b/test/other/transactions.rb
index 57aa23432..f8bdb9f2e 100755
--- a/test/other/transactions.rb
+++ b/test/other/transactions.rb
@@ -507,34 +507,6 @@ class TestTransactions < Test::Unit::TestCase
assert(transaction.missing_tags?(resource), "Considered a resource not to be missing tags when running a host catalog and tags are missing")
end
- # Make sure changes generated by eval_generated resources have proxies
- # set to the top-level resource.
- def test_proxy_resources
- type = mkreducer do
- def evaluate
- return Puppet::Transaction::Change.new(Fakeprop.new(
- :path => :path, :is => "start_value", :should => "desired_value", :name => self.name, :resource => "fake_parent"), :is)
- end
- end
-
- resource = type.new :name => "test"
- config = mk_catalog(resource)
- trans = Puppet::Transaction.new(config)
- trans.prepare
-
- assert_nothing_raised do
- trans.eval_resource(resource)
- end
-
- changes = trans.instance_variable_get("@changes")
-
- assert(changes.length > 0, "did not get any changes")
-
- changes.each do |change|
- assert_equal(resource.object_id, change.resource.object_id, "change did not get proxy set correctly")
- end
- end
-
# Make sure changes in contained files still generate callback events.
def test_generated_callbacks
dir = tempfile()