summaryrefslogtreecommitdiffstats
path: root/test/other/transactions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/other/transactions.rb')
-rwxr-xr-xtest/other/transactions.rb31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/other/transactions.rb b/test/other/transactions.rb
index fb5cf4018..8156ba478 100755
--- a/test/other/transactions.rb
+++ b/test/other/transactions.rb
@@ -1006,37 +1006,6 @@ class TestTransactions < Test::Unit::TestCase
end
end
- def test_labeled_deps_beat_unlabeled
- one = Puppet::Type.type(:exec).create :command => "/bin/echo one"
- two = Puppet::Type.type(:exec).create :command => "/bin/echo two"
-
- one[:require] = two
- one[:subscribe] = two
-
- comp = mk_configuration(one, two)
- trans = Puppet::Transaction.new(comp)
- graph = trans.relationship_graph
-
- label = graph.edge_label(two, one)
- assert(label, "require beat subscribe")
- assert_equal(:refresh, label[:callback],
- "did not get correct callback from subscribe")
-
- one.delete(:require)
- one.delete(:subscribe)
-
- two[:before] = one
- two[:notify] = one
-
- trans = Puppet::Transaction.new(comp)
- graph = trans.relationship_graph
-
- label = graph.edge_label(two, one)
- assert(label, "before beat notify")
- assert_equal(:refresh, label[:callback],
- "did not get correct callback from notify")
- end
-
# #542 - make sure resources in noop mode still notify their resources,
# so that users know if a service will get restarted.
def test_noop_with_notify