# encoding: utf-8 class Nanoc::Filters::RubyPantsTest < MiniTest::Unit::TestCase include Nanoc::TestHelpers 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—what?", result) end end end