Sha256: 852bd5498d637e54727954fc2df07b0028f8fccdb40a5c97bbe86cbeaa83161e

Contents?: true

Size: 355 Bytes

Versions: 8

Compression:

Stored size: 355 Bytes

Contents

# encoding: utf-8

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

  include Nanoc3::TestHelpers

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

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

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
nanoc3-3.2.4 test/filters/test_rubypants.rb
nanoc3-3.2.3 test/filters/test_rubypants.rb
nanoc3-3.2.2 test/filters/test_rubypants.rb
nanoc3-3.2.1 test/filters/test_rubypants.rb
nanoc3-3.2.0 test/filters/test_rubypants.rb
nanoc3-3.2.0b3 test/filters/test_rubypants.rb
nanoc3-3.2.0b2 test/filters/test_rubypants.rb
nanoc3-3.2.0b1 test/filters/test_rubypants.rb