diff --git a/spec/atom-reporter.coffee b/spec/atom-reporter.coffee index 49a614271..55e8a7de3 100644 --- a/spec/atom-reporter.coffee +++ b/spec/atom-reporter.coffee @@ -231,7 +231,10 @@ class SpecResultView extends View initialize: (@spec) -> @addClass("spec-view-#{@spec.id}") - @description.text @spec.description + + description = @spec.description + description = "it #{description}" if description.indexOf('it ') isnt 0 + @description.text(description) for result in @spec.results().getItems() when not result.passed() stackTrace = formatStackTrace(result.message, result.trace.stack)