reachlocal/snapdragon — pull request #26 by prasadc82 (2013-07-22 07:05:33+00:00)
Title: fix HtmlReporter error observed when only describe block added to spec

The below error is thrown when a spec only has "describe" block no "it" block, no real tests in the spec.
traced down to HtmlReporter,
added a null check before the function call.

TypeError: 'undefined' is not an object (evaluating 'reporterView.suiteComplete')
at http://127.0.0.1:52047/jasmine-core/jasmine-html.js:92
at http://127.0.0.1:52047/jasmine-core/jasmine.js:1788
at http://127.0.0.1:52047/jasmine-core/jasmine.js:2475
at http://127.0.0.1:52047/jasmine-core/jasmine.js:2522
at http://127.0.0.1:52047/jasmine-core/jasmine.js:2106
at http://127.0.0.1:52047/jasmine-core/jasmine.js:2049
at http://127.0.0.1:52047/jasmine-core/jasmine.js:2523
at http://127.0.0.1:52047/jasmine-core/jasmine.js:2096
at http://127.0.0.1:52047/jasmine-core/jasmine.js:2049 at http://127.0.0.1:52047/jasmine-core/jasmine.js:2523
at http://127.0.0.1:52047/jasmine-core/jasmine.js:2096
at http://127.0.0.1:52047/jasmine-core/jasmine.js:2049
at http://127.0.0.1:52047/jasmine-core/jasmine.js:2145
at http://127.0.0.1:52047/jasmine-core/jasmine.js:802