Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

adding MarkupValidity to Test::Unit if it is defined

  • Loading branch information...
commit 91f50058169ed9eae66af5b2c07b6dfaeca0f1ba 1 parent 698c180
Aaron Patterson authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 lib/markup_validity.rb
4 lib/markup_validity.rb
@@ -48,3 +48,7 @@ def assert_xhtml_strict xhtml
48 48 assert validator.valid?, validator.inspect
49 49 end
50 50 end
  51 +
  52 +if defined? Test::Unit::TestCase
  53 + class Test::Unit::TestCase; include MarkupValidity; end
  54 +end

0 comments on commit 91f5005

Please sign in to comment.
Something went wrong with that request. Please try again.