test/tilt_redclothtemplate_test.rb in tilt-2.0.5 vs test/tilt_redclothtemplate_test.rb in tilt-2.0.6

- old
+ new

@@ -29,8 +29,8 @@ assert_equal "<p>Hard breaks are<br />\ninserted by default.</p>", template.render template = Tilt::RedClothTemplate.new(:hard_breaks => false) { |t| "But they can be\nturned off." } assert_equal "<p>But they can be\nturned off.</p>", template.render end end -rescue LoadError => boom +rescue LoadError warn "Tilt::RedClothTemplate (disabled)" end