diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2010-04-07 10:48:58 -0700 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 2a2ab759674a1f748e20c1c075d01cb74a4328d2 (patch) | |
tree | b364f4109f55bc48463bff8733bf299a5bb2164d | |
parent | 0a72a98c16a4cb2c507069b875da88a88dd763f8 (diff) | |
download | puppet-2a2ab759674a1f748e20c1c075d01cb74a4328d2.tar.gz puppet-2a2ab759674a1f748e20c1c075d01cb74a4328d2.tar.xz puppet-2a2ab759674a1f748e20c1c075d01cb74a4328d2.zip |
Fix test failures due to name changes of event symbols
-rwxr-xr-x | test/other/transactions.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/other/transactions.rb b/test/other/transactions.rb index 255897a20..baf6def18 100755 --- a/test/other/transactions.rb +++ b/test/other/transactions.rb @@ -237,7 +237,7 @@ class TestTransactions < Test::Unit::TestCase # set up. config = mk_catalog(file, exec) - trans = assert_events([:file_changed, :triggered], config) + trans = assert_events([:mode_changed, :restarted], config) assert(FileTest.exists?(execfile), "Execfile does not exist") File.unlink(execfile) @@ -245,7 +245,7 @@ class TestTransactions < Test::Unit::TestCase file[:group] = @groups[1] } - trans = assert_events([:file_changed, :triggered], config) + trans = assert_events([:group_changed, :restarted], config) assert(FileTest.exists?(execfile), "Execfile does not exist") end @@ -286,7 +286,7 @@ class TestTransactions < Test::Unit::TestCase file[:mode] = "755" } - trans = assert_events([:file_changed, :file_changed, :triggered], config) + trans = assert_events([:group_changed, :mode_changed, :restarted], config) end # Make sure that multiple subscriptions get triggered. @@ -377,7 +377,7 @@ class TestTransactions < Test::Unit::TestCase file[:content] = "some content" - assert_events([:file_changed, :triggered], config) + assert_events([:content_changed, :restarted], config) assert(FileTest.exists?(fname), "File did not get recreated") |