test/widget/test-thumbnail.rb in mireru-0.2.0 vs test/widget/test-thumbnail.rb in mireru-0.2.1

- old
+ new

@@ -1,15 +1,18 @@ require "mireru/widget/thumbnail" class ThumbnailTest < Test::Unit::TestCase + include MireruTestUtils + def test_image_from_file widget = Mireru::Widget::Thumbnail.__send__(:image_from_file, - "test/fixtures/nijip.png") + File.join(fixtures_dir, + "nijip.png")) assert_equal(Gtk::Image, widget.class) end def test_label_from_fil widget = Mireru::Widget::Thumbnail.__send__(:label_from_file, - __FILE__) + __FILE__) assert_equal(Gtk::Label, widget.class) end end