# encoding: utf-8 require 'test/helper' class Nanoc3::Filters::RubyPantsTest < MiniTest::Unit::TestCase include Nanoc3::TestHelpers def test_filter if_have 'rubypants' do # Get filter filter = ::Nanoc3::Filters::RubyPants.new # Run filter result = filter.run("Wait---what?") assert_equal("Wait—what?", result) end end end