Fix pipes spec

This commit is contained in:
Roman Hotsiy 2016-01-23 16:00:38 +02:00
parent 31bdc657af
commit 38f642dbb8

View File

@ -85,12 +85,12 @@ describe('Pipes', () => {
beforeEach(() => { beforeEach(() => {
unmarked = 'test\n'; unmarked = 'test\n';
marked = '<p>test</p>\n'; marked = '<span class="redoc-markdown-block"><p>test</p>\n</span>';
pipe = new MarkedPipe(); pipe = new MarkedPipe();
}); });
describe('MarkedPipe transform', () => { describe('MarkedPipe transform', () => {
it('should escpae pointer', () => { it('should wrap in markdown span', () => {
var val = pipe.transform(unmarked); var val = pipe.transform(unmarked);
val.should.be.equal(marked); val.should.be.equal(marked);
}); });