Permalink
Browse files

Some extra tests for firing events directly on classes, which should …

…not bubble.
  • Loading branch information...
1 parent 024de14 commit 8658aa9976d1eac7baf1bef4f2f9f2a075e54b36 @jcoglan committed Jun 18, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/test_eventful.rb
View
@@ -61,5 +61,10 @@ def test_bubbling
assert_equal [bar1, bar1], list
bar2.fire(:noe)
assert_equal [bar1, bar1, bar2], list
+
+ Bar.fire(:aye)
+ assert_equal [bar1, bar1, bar2, Bar], list
+ Bar.fire(:noe)
+ assert_equal [bar1, bar1, bar2, Bar], list
end
end

0 comments on commit 8658aa9

Please sign in to comment.