Skip to content

Instantly share code, notes, and snippets.

@jmhodges
Created April 28, 2009 20:51
Show Gist options
  • Save jmhodges/103393 to your computer and use it in GitHub Desktop.
Save jmhodges/103393 to your computer and use it in GitHub Desktop.
require 'dryopteris'
require 'test/unit'
class TestFeedparser < Test::Unit::TestCase
def test_frameset
# This fails by returning "safe<b>description</b>".
assert_equal "safe <b>description</b>",
Dryopteris.whitewash("safe<frameset rows=\"*\"><frame src=\"http://example.com\"></frameset> <b>description</b>")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment