app/assets/javascripts/konacha/parent.js in konacha-3.5.1 vs app/assets/javascripts/konacha/parent.js in konacha-3.6.0

- old
+ new

@@ -10,10 +10,14 @@ var specFilePath, grepString = originalTestUrl(suite), currentSuite = suite; while (!(specFilePath = currentSuite.path)) { - currentSuite = currentSuite.parent + if (currentSuite.parent) { + currentSuite = currentSuite.parent; + } else { + break; + } } specFilePath = /([^\.]*)/.exec(specFilePath)[1]; return location.protocol+'//'+location.host+'/'+specFilePath+grepString; };