Sha256: 514288badaaee0d3f12003c90edc6ec29c3e195b34a0f776c4e45b2c1bad37cb

Contents?: true

Size: 428 Bytes

Versions: 16

Compression:

Stored size: 428 Bytes

Contents

# coding: UTF-8
Encoding.default_internal = 'UTF-8' if defined? Encoding

gem 'test-unit', '>= 2' # necessary when not using bundle exec

require 'test/unit'
require 'nokogiri'

require 'redcarpet'
require 'redcarpet/render_strip'
require 'redcarpet/render_man'

def html_equal(html_a, html_b)
  assert_equal Nokogiri::HTML::DocumentFragment.parse(html_a).to_html,
    Nokogiri::HTML::DocumentFragment.parse(html_b).to_html
end

Version data entries

16 entries across 13 versions & 3 rubygems

Version Path
climine-0.0.7 vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/test/test_helper.rb
climine-0.0.7 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/test/test_helper.rb
redcarpet-3.1.2 test/test_helper.rb
climine-0.0.6 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/test/test_helper.rb
climine-0.0.5 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/test/test_helper.rb
redcarpet-3.1.1 test/test_helper.rb
redcarpet-3.1.0 test/test_helper.rb
climine-0.0.4 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/test/test_helper.rb
climine-0.0.3 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/test/test_helper.rb
climine-0.0.2 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/test/test_helper.rb
climine-0.0.1 vendor/bundle/ruby/2.0.0/gems/redcarpet-3.0.0/test/test_helper.rb
candlepin-api-0.4.0 bundle/ruby/gems/redcarpet-2.3.0/test/test_helper.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/redcarpet-2.3.0/test/test_helper.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/redcarpet-2.3.0/test/test_helper.rb
redcarpet-3.0.0 test/test_helper.rb
redcarpet-2.3.0 test/test_helper.rb