Sha256: 36eeb2603cc8c980675da96b8e48d3ddf7878592f3b5531af699ee286636ee17

Contents?: true

Size: 301 Bytes

Versions: 4

Compression:

Stored size: 301 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.0.092 app/models/chunks/nowiki_test.rb
Pimki-1.1.092 app/models/chunks/nowiki_test.rb
Pimki-1.2.092 app/models/chunks/nowiki_test.rb
Pimki-1.3.092 app/models/chunks/nowiki_test.rb