Dont test kramdown
It should have it's own tests for that
This commit is contained in:
		
							parent
							
								
									5d48c5390d
								
							
						
					
					
						commit
						9b8b5b2bda
					
				| 
						 | 
				
			
			@ -20,14 +20,5 @@ class TestKramdown < Test::Unit::TestCase
 | 
			
		|||
      markdown = MarkdownConverter.new(@config)
 | 
			
		||||
      assert_equal "<h1>Some Header</h1>", markdown.convert('# Some Header #').strip
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    should "convert quotes to smart quotes" do
 | 
			
		||||
      markdown = MarkdownConverter.new(@config)
 | 
			
		||||
      assert_equal "<p>“Pit’hy”</p>", markdown.convert(%{"Pit'hy"}).strip
 | 
			
		||||
 | 
			
		||||
      override = { 'kramdown' => { 'smart_quotes' => 'lsaquo,rsaquo,laquo,raquo' } }
 | 
			
		||||
      markdown = MarkdownConverter.new(@config.deep_merge(override))
 | 
			
		||||
      assert_equal "<p>«Pit›hy»</p>", markdown.convert(%{"Pit'hy"}).strip
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue