test/tilt_redclothtemplate_test.rb in tilt-1.4.1 vs test/tilt_redclothtemplate_test.rb in tilt-2.0.0.beta1
- old
+ new
@@ -1,11 +1,11 @@
-require 'contest'
+require 'test_helper'
require 'tilt'
begin
- require 'redcloth'
+ require 'tilt/redcloth'
- class RedClothTemplateTest < Test::Unit::TestCase
+ class RedClothTemplateTest < Minitest::Test
test "is registered for '.textile' files" do
assert_equal Tilt::RedClothTemplate, Tilt['test.textile']
end
test "compiles and evaluates the template on #render" do