Sha256: a1658f2b8c3b99ab4188ab623473571ed0c484b819b76cdeeb5fda3c54793ca2

Contents?: true

Size: 411 Bytes

Versions: 34

Compression:

Stored size: 411 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

class SmartyPantsFilterTest < Test::Unit::TestCase

  def test_filter_name
    assert_equal 'SmartyPants', SmartyPantsFilter.filter_name
  end
  
  def test_filter
    assert_equal "<h1 class=\"headline\">Radiant&#8217;s &#8220;filters&#8221; rock!</h1>", 
      SmartyPantsFilter.filter("<h1 class=\"headline\">Radiant's \"filters\" rock!</h1>")
  end  

end

Version data entries

34 entries across 34 versions & 4 rubygems

Version Path
radiant-smarty_pants_filter-extension-1.0.1 test/unit/smarty_pants_filter_test.rb
radiant-smarty_pants_filter-extension-1.0.0 test/unit/smarty_pants_filter_test.rb
radiant-1.0.0.rc2 vendor/extensions/smarty_pants_filter/test/unit/smarty_pants_filter_test.rb
radiant-1.0.0.rc1 vendor/extensions/smarty_pants_filter/test/unit/smarty_pants_filter_test.rb
radiantcms-couchrest_model-0.2.4 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiantcms-couchrest_model-0.2.2 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiantcms-couchrest_model-0.2.1 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiantcms-couchrest_model-0.2 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiantcms-couchrest_model-0.1.9 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiantcms-couchrest_model-0.1.8 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiantcms-couchrest_model-0.1.7 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiantcms-couchrest_model-0.1.6 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiantcms-couchrest_model-0.1.5 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiantcms-couchrest_model-0.1.4 vendor/extensions/smarty_pants_filter/test/unit/smarty_pants_filter_test.rb
radiant-0.7.2 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiant-0.9.1 vendor/extensions/smarty_pants_filter/test/unit/smarty_pants_filter_test.rb
radiant-0.8.2 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiant-0.9.0.rc2 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiant-rc-0.9.0 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb
radiant-0.8.1 vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb