test/unit/generator/pdf/document/graphics/test_attributes.rb in thinreports-0.7.7 vs test/unit/generator/pdf/document/graphics/test_attributes.rb in thinreports-0.8.0
- old
+ new
@@ -1,13 +1,13 @@
# coding: utf-8
-require 'test/unit/helper'
+require 'test_helper'
-class ThinReports::Generator::PDF::Graphics::TestAttributes < MiniTest::Unit::TestCase
- include ThinReports::TestHelpers
+class Thinreports::Generator::PDF::Graphics::TestAttributes < Minitest::Test
+ include Thinreports::TestHelper
def setup
- @pdf = ThinReports::Generator::PDF::Document.new
+ @pdf = Thinreports::Generator::PDF::Document.new
end
def test_common_graphic_attrs_should_return_converted_Hash_as_attributes
result = @pdf.common_graphic_attrs('stroke' => '#ff0000',
'stroke-width' => '1',