Sha256: 45da5ba4373a1102c20d28cec2e19f209db320ca4122c384470854d4b125905d

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

require "mireru/widget/svg"

class SVGTest < Test::Unit::TestCase
  include MireruTestUtils

  def test_create
    file = File.join(File.dirname(__FILE__), "..", "fixtures", "sample.svg")
    widget = Mireru::Widget::SVG.create(file)
    assert_not_nil(widget)
    assert_equal(Gtk::DrawingArea, widget.class)
    widget.destroy
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mireru-0.2.1 test/widget/test-svg.rb