From 06dc3061f7988b23884f892fb8ea678c0e6d83fd Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 29 Jun 2010 06:26:25 +0000 Subject: Fixed for_redcloth test for the edge case that RedCloth is defined, but was not loaded. --- test/functional/for_redcloth.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/for_redcloth.rb b/test/functional/for_redcloth.rb index 0b7229c..8c6491d 100644 --- a/test/functional/for_redcloth.rb +++ b/test/functional/for_redcloth.rb @@ -8,6 +8,7 @@ begin require 'redcloth' rescue LoadError warn 'RedCloth not found - skipping for_redcloth tests.' + undef RedCloth if defined? RedCloth end class BasicTest < Test::Unit::TestCase -- cgit v1.2.1