test/tilt_markaby_test.rb in tilt-1.4.1 vs test/tilt_markaby_test.rb in tilt-2.0.0.beta1
- old
+ new
@@ -1,12 +1,12 @@
-require 'contest'
+require 'test_helper'
require 'tilt'
begin
- require 'markaby'
+ require 'tilt/markaby'
- class MarkabyTiltTest < Test::Unit::TestCase
+ class MarkabyTiltTest < Minitest::Test
def setup
@block = lambda do |t|
File.read(File.dirname(__FILE__) + "/#{t.file}")
end
end
@@ -83,6 +83,6 @@
end
end
rescue LoadError => boom
warn "Tilt::MarkabyTemplate (disabled)"
-end
\ No newline at end of file
+end