Sha256: 6762df2c86aa27e03f52ba158e345ce073a78ac77e69e316829f39e5d525b12d

Contents?: true

Size: 321 Bytes

Versions: 6

Compression:

Stored size: 321 Bytes

Contents

# encoding: utf-8

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

6 entries across 6 versions & 1 rubygems

Version Path
nanoc-4.0.0b2 test/filters/test_rubypants.rb
nanoc-4.0.0b1 test/filters/test_rubypants.rb
nanoc-4.0.0a2 test/filters/test_rubypants.rb
nanoc-4.0.0a1 test/filters/test_rubypants.rb
nanoc-3.8.0 test/filters/test_rubypants.rb
nanoc-3.7.5 test/filters/test_rubypants.rb