Sha256: adbdf1cf26c3b7cddc6eeaf72ed64d918cc5d574e0b045aa3c2da099bf9e2b9c

Contents?: true

Size: 323 Bytes

Versions: 14

Compression:

Stored size: 323 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

14 entries across 14 versions & 1 rubygems

Version Path
nanoc-3.7.3 test/filters/test_rubypants.rb
nanoc-3.7.2 test/filters/test_rubypants.rb
nanoc-3.7.1 test/filters/test_rubypants.rb
nanoc-3.7.0 test/filters/test_rubypants.rb
nanoc-3.6.11 test/filters/test_rubypants.rb
nanoc-3.6.10 test/filters/test_rubypants.rb
nanoc-3.6.9 test/filters/test_rubypants.rb
nanoc-3.6.8 test/filters/test_rubypants.rb
nanoc-3.6.7 test/filters/test_rubypants.rb
nanoc-3.6.6 test/filters/test_rubypants.rb
nanoc-3.6.5 test/filters/test_rubypants.rb
nanoc-3.6.4 test/filters/test_rubypants.rb
nanoc-3.6.3 test/filters/test_rubypants.rb
nanoc-3.6.2 test/filters/test_rubypants.rb