Sha256: 316cfe10a9b4d69105fab6af7be836ba343f6c6fe552ee9a74b867ea31ca26fc

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 Bytes

Contents

require 'test/unit'
require 'feed_tools'

class HelperTest < Test::Unit::TestCase
  def setup
    FeedTools.tidy_enabled = false
  end

  def test_escape_entities
  end

  def test_unescape_entities
  end
  
  def test_normalize_url
    assert_equal("http://slashdot.org/",
      FeedTools.normalize_url("slashdot.org"))
  end
  
  def test_sanitize_html
  end
  
  def test_tidy_html
    FeedTools.tidy_enabled = true
    
    
    FeedTools.tidy_enabled = false
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
feedtools-0.2.2 test/helper_test.rb
feedtools-0.2.3 test/helper_test.rb