test/base/test_notification_center.rb in nanoc-3.7.4 vs test/base/test_notification_center.rb in nanoc-3.7.5
- old
+ new
@@ -1,9 +1,8 @@
# encoding: utf-8
class Nanoc::NotificationCenterTest < Nanoc::TestCase
-
def test_post
# Set up notification
Nanoc::NotificationCenter.on :ping_received, :test do
@ping_received = true
end
@@ -26,7 +25,6 @@
# Post
@ping_received = false
Nanoc::NotificationCenter.post :ping_received
assert(!@ping_received)
end
-
end