Sha256: ad2afc1ea2bc3e75786246f20ad7617922caf98c1331cfbf0aaa3a2857f070ff

Contents?: true

Size: 508 Bytes

Versions: 2

Compression:

Stored size: 508 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.use_p = false }
    process_assertions({
      '- Это "Типограф"?' => "&#151; Это &laquo;Типограф&raquo;?",
    })
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
als_typograf-0.0.3 test/test_als_typograf.rb
als_typograf-0.0.2 test/test_als_typograf.rb