Skip to content

Commit

Permalink
Ensure the description is always a String. (Fixes #70)
Browse files Browse the repository at this point in the history
  • Loading branch information
netzpirat committed Jul 19, 2012
1 parent 336394a commit 91244ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/guard/jasmine/phantomjs/src/reporter.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ConsoleReporter
unless spec.results().skipped
specResult = {
id: spec.id
description: spec.description
description: '' + spec.description
passed: spec.results().failedCount is 0
}

Expand All @@ -54,7 +54,7 @@ class ConsoleReporter
suiteResult = {
id: suite.id
parent: suite.parentSuite?.id
description: suite.description
description: '' + suite.description
passed: suite.results().failedCount is 0
specs: @currentSpecs[suite.id] || []
suites: []
Expand Down

0 comments on commit 91244ab

Please sign in to comment.