Sha256: 1f86e85dbd5f027d4727e6dfd63f654c950ea65df8c78615dcd65f0ca703750a

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

require 'helper'

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

  context 'no p' do
    setup { AlsTypograf.p!(false) }
    process_assertions({
      '- Это "Типограф"?' => "&#151; Это &laquo;Типограф&raquo;?",
    })
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
als_typograf-0.0.1 test/test_als_typograf.rb