Sha256: 588a00ba6835a4eb19fcf6fab0ac61f018b704021f7ec0e8b4c91c50bdf56924

Contents?: true

Size: 283 Bytes

Versions: 37

Compression:

Stored size: 283 Bytes

Contents

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

class TextileFilterTest < Test::Unit::TestCase

  def test_filter_name
    assert_equal 'Textile', TextileFilter.filter_name
  end
  
  def test_filter
    assert_equal '<h1>Test</h1>', TextileFilter.filter('h1. Test')
  end  

end

Version data entries

37 entries across 37 versions & 5 rubygems

Version Path
radiant-textile_filter-extension-1.0.3 test/unit/textile_filter_test.rb
radiant-textile_filter-extension-1.0.2 test/unit/textile_filter_test.rb
radiant-textile_filter-extension-1.0.1 test/unit/textile_filter_test.rb
kajam-1.0.3.rc2 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiant-textile_filter-extension-1.0.0 test/unit/textile_filter_test.rb
radiant-1.0.0.rc2 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiant-1.0.0.rc1 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiantcms-couchrest_model-0.2.4 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiantcms-couchrest_model-0.2.2 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiantcms-couchrest_model-0.2.1 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiantcms-couchrest_model-0.2 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiantcms-couchrest_model-0.1.9 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiantcms-couchrest_model-0.1.8 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiantcms-couchrest_model-0.1.7 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiantcms-couchrest_model-0.1.6 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiantcms-couchrest_model-0.1.5 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiantcms-couchrest_model-0.1.4 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiant-0.7.2 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiant-0.9.1 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb
radiant-0.8.2 vendor/extensions/textile_filter/test/unit/textile_filter_test.rb