From d860a2fb71858706ff318cfcdc0ff387840eef80 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Sun, 24 May 2009 15:15:33 -0500 Subject: Fixing a transaction test that had some broken plumbing Signed-off-by: Luke Kanies --- test/other/transactions.rb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/test/other/transactions.rb b/test/other/transactions.rb index 6145b19c5..8375145f9 100755 --- a/test/other/transactions.rb +++ b/test/other/transactions.rb @@ -13,6 +13,8 @@ class TestTransactions < Test::Unit::TestCase include PuppetTest::Support::Resources include PuppetTest::Support::Utils class Fakeprop :path, :is => :is, :should => :should, :name => self.name, :resource => "a parent"), :is) + :path => :path, :is => "start_value", :should => "desired_value", :name => self.name, :resource => "fake_parent"), :is) end end @@ -613,7 +622,7 @@ class TestTransactions < Test::Unit::TestCase assert(changes.length > 0, "did not get any changes") changes.each do |change| - assert_equal(resource, change.resource, "change did not get proxy set correctly") + assert_equal(resource.object_id, change.resource.object_id, "change did not get proxy set correctly") end end -- cgit