test/test_libnotify.rb in libnotify-0.1.3 vs test/test_libnotify.rb in libnotify-0.1.4
- old
+ new
@@ -1,11 +1,11 @@
require 'helper'
context Libnotify do
setup { Libnotify }
- asserts("responds to new").respond_to(:new)
- asserts("responds to show").respond_to(:show)
+ asserts_topic("responds to new").respond_to(:new)
+ asserts_topic("responds to show").respond_to(:show)
asserts("#new calls API#new") do
mock(Libnotify::API).new(hash_including(:body => "test")) { true }
Libnotify.new(:body => "test")
end