test/widget/test-binary.rb in mireru-0.2.0 vs test/widget/test-binary.rb in mireru-0.2.1
- old
+ new
@@ -1,9 +1,11 @@
require "mireru/widget/binary"
class BinaryTest < Test::Unit::TestCase
+ include MireruTestUtils
+
def test_create
- file = File.join(File.dirname(__FILE__), "..", "fixtures", "Gemfile.gz")
+ file = File.join(fixtures_dir, "Gemfile.gz")
widget = Mireru::Widget::Binary.create(file)
assert_not_nil(widget)
assert_equal(Gtk::TextView, widget.class)
widget.destroy
end