Sha256: af5662951308252d4e0e478873d657d1e46514791efc3a709aa6220d7861a0f2

Contents?: true

Size: 352 Bytes

Versions: 15

Compression:

Stored size: 352 Bytes

Contents

# encoding: utf-8

class Nanoc::Filters::RubyPantsTest < MiniTest::Unit::TestCase

  include Nanoc::TestHelpers

  def test_filter
    if_have 'rubypants' do
      # Get filter
      filter = ::Nanoc::Filters::RubyPants.new

      # Run filter
      result = filter.run("Wait---what?")
      assert_equal("Wait&#8212;what?", result)
    end
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
nanoc-3.5.0 test/filters/test_rubypants.rb
nanoc-3.5.0b2 test/filters/test_rubypants.rb
nanoc-3.5.0b1 test/filters/test_rubypants.rb
nanoc-3.4.3 test/filters/test_rubypants.rb
nanoc-3.4.2 test/filters/test_rubypants.rb
nanoc-3.4.1 test/filters/test_rubypants.rb
nanoc-3.4.0 test/filters/test_rubypants.rb
nanoc-3.3.7 test/filters/test_rubypants.rb
nanoc-3.3.6 test/filters/test_rubypants.rb
nanoc-3.3.5 test/filters/test_rubypants.rb
nanoc-3.3.4 test/filters/test_rubypants.rb
nanoc-3.3.3 test/filters/test_rubypants.rb
nanoc-3.3.2 test/filters/test_rubypants.rb
nanoc-3.3.1 test/filters/test_rubypants.rb
nanoc-3.3.0 test/filters/test_rubypants.rb