test/test_libnotify.rb in libnotify-0.0.5 vs test/test_libnotify.rb in libnotify-0.1.0
- old
+ new
@@ -55,10 +55,10 @@
asserts("with nil") { topic.timeout = nil; topic.timeout }.nil
asserts("with false") { topic.timeout = false; topic.timeout }.nil
asserts("with to_s.to_i") { topic.timeout = :"2 seconds"; topic.timeout }.equals(2)
end
- # TODO mock this!
+ # TODO Mock FFI calls with rrriot.
context "show!" do
setup { topic.new(:timeout => 1.0, :icon_path => "/usr/share/icons/gnome/scalable/emblems/emblem-default.svg") }
[ :low, :normal, :critical ].each do |urgency|
asserts("with urgency #{urgency}") do