test/widget/test-video.rb in mireru-0.2.1 vs test/widget/test-video.rb in mireru-0.9.0
- old
+ new
@@ -3,15 +3,15 @@
class VideoTest < Test::Unit::TestCase
include MireruTestUtils
include ClutterTestUtils
- def test_create
+ def test_new
omit_if_clutter_color_hash_expect_arguments
filename = "XXX.ogm"
- widget = Mireru::Widget::Video.create(filename)
+ widget = Mireru::Widget::Video.new(filename)
assert_not_nil(widget)
- assert_equal(ClutterGtk::Embed, widget.class)
+ assert_kind_of(ClutterGtk::Embed, widget)
widget.destroy
end
end