summaryrefslogtreecommitdiffstats
path: root/test/conrefs.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/conrefs.js')
-rw-r--r--test/conrefs.js14
1 files changed, 12 insertions, 2 deletions
diff --git a/test/conrefs.js b/test/conrefs.js
index 8d6a181..281fb1c 100644
--- a/test/conrefs.js
+++ b/test/conrefs.js
@@ -26,14 +26,24 @@ describe('ConRefs', function () {
});
});
- it('should handle git references', function() {
+ it('should handle local references with absolute paths', function() {
readme.should.be.html({
".page-inner p#t2": {
count: 1,
+ text: "Hello World",
+ trim: true
+ }
+ });
+ });
+
+ it('should handle git references', function() {
+ readme.should.be.html({
+ ".page-inner p#t3": {
+ count: 1,
text: "Hello from git",
trim: true
},
- ".page-inner p#t3": {
+ ".page-inner p#t4": {
count: 1,
text: "First Hello. Hello from git",
trim: true