test/writer_test.rb in slim2pdf-0.0.5 vs test/writer_test.rb in slim2pdf-0.0.6
- old
+ new
@@ -1,10 +1,10 @@
require 'test_helper'
require 'logger'
require 'stringio'
module Slim2pdf
- class WriterTest < MiniTest::Unit::TestCase
+ class WriterTest < Minitest::Test
def setup
@data = { title: 'Slim2pdf', content: 'Slim to PDF conversion gem' }
@template = File.expand_path('../tpl/test.slim', __FILE__)
@writer = Writer.new(@template, @data)
end