QUnit.test('Simple', function(assert) {
assert.expect(1);
var context = new rr.Context(mediawiki,
'=== Heading ===\n' +
'This is a wiki doc.\n' +
"How about some '''bold and bold italic'''.\n" +
'I would also love some nowiki foo');
var iterable = context.rules['wikidoc'].match(context);
assert.equal(iterable.next().value.nodes[0].innerHTML,
'
Heading
This is a wiki doc.\n' +
'How about some bold and <i>bold italic</i>.\n' +
'I would also love some nowiki <b>foo</b>');
});