Sha256: ff4987d6bbe8a8c63cb141c89209711a9219482d7c105cca8d6c71762634cb04

Contents?: true

Size: 320 Bytes

Versions: 22

Compression:

Stored size: 320 Bytes

Contents

require 'helper'

class Nanoc::Filters::RubyPantsTest < Nanoc::TestCase
  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

22 entries across 22 versions & 1 rubygems

Version Path
nanoc-4.4.7 test/filters/test_rubypants.rb
nanoc-4.4.6 test/filters/test_rubypants.rb