File: html_no_breaks_spec.rb

package info (click to toggle)
ruby-redcloth 4.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 708 kB
  • sloc: ruby: 1,233; ansic: 201; makefile: 25
file content (9 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
require File.dirname(__FILE__) + '/../spec_helper'

describe "html_no_breaks" do
  examples_from_yaml do |doc|
    red = RedCloth.new(doc['in'])
    red.hard_breaks = false
    red.to_html
  end
end