Sha256: 7d76befb317eee7238667d47d8f0435896a03aa40b4568473f95d4e68bcd30ad

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

require 'chunks/nowiki'
require 'chunks/match'
require 'test/unit'

class NoWikiTest < Test::Unit::TestCase
  include ChunkMatch

  def test_simple_nowiki
	match(NoWiki, 'This sentence contains <nowiki>[[raw text]]</nowiki>. Do not touch!',
		:plain_text => '[[raw text]]'
	)
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
Pimki-1.4.092 app/models/chunks/nowiki_test.rb
Pimki-1.5.092 app/models/chunks/nowiki_test.rb
Pimki-1.6.092 app/models/chunks/nowiki_test.rb
Pimki-1.7.092 app/models/chunks/nowiki_test.rb