Sha256: 9dd3243da783948a5b221a2881d08040860e86115a76610b3033f9a308264453

Contents?: true

Size: 362 Bytes

Versions: 2

Compression:

Stored size: 362 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.setup_and_run("Wait---what?")
      assert_equal("Wait&#8212;what?", result)
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nanoc-3.6.1 test/filters/test_rubypants.rb
nanoc-3.6.0 test/filters/test_rubypants.rb