require 'helper' class TestAlsTypograf < Test::Unit::TestCase # TODO: need more tests or not? context 'with default configuration' do setup { AlsTypograf.default_options! } process_assertions({ '- Это "Типограф"?' => "
Это «Типограф»?
", }) end context 'no p' do setup { AlsTypograf.p!(false) } process_assertions({ '- Это "Типограф"?' => " Это «Типограф»?", }) end end