Sha256: 0991f99141b9de031c64494c4553f0c1194ed85c9f548560a3702836258957b7

Contents?: true

Size: 302 Bytes

Versions: 40

Compression:

Stored size: 302 Bytes

Contents

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

40 entries across 40 versions & 1 rubygems

Version Path
nanoc-4.1.6 test/filters/test_rubypants.rb
nanoc-4.2.0b1 test/filters/test_rubypants.rb
nanoc-4.1.5 test/filters/test_rubypants.rb
nanoc-4.1.4 test/filters/test_rubypants.rb
nanoc-4.1.3 test/filters/test_rubypants.rb
nanoc-4.1.2 test/filters/test_rubypants.rb
nanoc-4.1.1 test/filters/test_rubypants.rb
nanoc-4.1.0 test/filters/test_rubypants.rb
nanoc-4.1.0rc2 test/filters/test_rubypants.rb
nanoc-4.1.0rc1 test/filters/test_rubypants.rb
nanoc-4.1.0b1 test/filters/test_rubypants.rb
nanoc-4.1.0a1 test/filters/test_rubypants.rb
nanoc-4.0.2 test/filters/test_rubypants.rb
nanoc-4.0.1 test/filters/test_rubypants.rb
nanoc-4.0.0 test/filters/test_rubypants.rb
nanoc-4.0.0rc3 test/filters/test_rubypants.rb
nanoc-4.0.0rc2 test/filters/test_rubypants.rb
nanoc-4.0.0rc1 test/filters/test_rubypants.rb
nanoc-4.0.0b4 test/filters/test_rubypants.rb
nanoc-4.0.0b3 test/filters/test_rubypants.rb