summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-06-29 06:26:25 +0000
committermurphy <murphy@rubychan.de>2010-06-29 06:26:25 +0000
commit06dc3061f7988b23884f892fb8ea678c0e6d83fd (patch)
tree30afa31c9abf646e67a3cca949e72896b99f784c
parentb16a74394aa034bb58439ec78bb89d0a3c90ed91 (diff)
downloadcoderay-06dc3061f7988b23884f892fb8ea678c0e6d83fd.tar.gz
Fixed for_redcloth test for the edge case that RedCloth is defined, but was not loaded.
-rw-r--r--test/functional/for_redcloth.rb1
1 files changed, 1 insertions, 0 deletions
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