spec-detective
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -55,3 +55,4 @@ var fs = require('fs'), | ||
if(options.type === 'failure') { | ||
testcase.testcase.failure = line | ||
testcase.testcase.failure = line; | ||
testcase.testcase['@time'] = '0'; | ||
} | ||
@@ -58,0 +59,0 @@ return testcase; |
{ | ||
"name": "spec-detective", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A cool way to find out if your spec's in feature files and the like have met expectations.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -102,2 +102,3 @@ var JunitXmlWriter = require('../lib/junitXmlWriter'), | ||
assert.equal(result.testsuite.testcase[0].$.name, 'spec'); | ||
assert.equal(result.testsuite.testcase[0].$.time, '0'); | ||
assert.equal(result.testsuite.testcase[0].failure, 'line'); | ||
@@ -104,0 +105,0 @@ done(); |
54499
1312