From bd14a90610fa90802c7f61310fa8f18d4d868de0 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Mon, 22 Nov 2010 23:38:49 +0100 Subject: Doc specs: added test for markdown It should replace markdown between two
***

---
 docs/spec/collectSpec.js | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'docs/spec/collectSpec.js')

diff --git a/docs/spec/collectSpec.js b/docs/spec/collectSpec.js
index 8002e0d6..86af0810 100644
--- a/docs/spec/collectSpec.js
+++ b/docs/spec/collectSpec.js
@@ -19,6 +19,11 @@ describe('collect', function(){
             '
\nangular.k\n
' + '

asdf x

'); }); + + it('should replace text between two
 tags', function() {
+      expect(collect.markdown('
x
# One
b
')). + toEqual('
x

One

b
'); + }); }); describe('processNgDoc', function() { -- cgit v1.2.3