diff --git a/spec/atom-reporter.coffee b/spec/atom-reporter.coffee index 7c2203c51..099a78f1f 100644 --- a/spec/atom-reporter.coffee +++ b/spec/atom-reporter.coffee @@ -92,7 +92,7 @@ class AtomReporter extends View clearTimeout @timeoutId if @timeoutId? @specPopup.show() - spec = _.find(window.timedSpecs, (spec) -> description is spec.name) + spec = _.find(window.timedSpecs, ({fullName}) -> description is fullName) description = "#{description} #{spec.time}ms" if spec @specPopup.text description {left, top} = element.offset() diff --git a/spec/time-reporter.coffee b/spec/time-reporter.coffee index 49ef984c0..f5555f392 100644 --- a/spec/time-reporter.coffee +++ b/spec/time-reporter.coffee @@ -53,6 +53,7 @@ class TimeReporter extends jasmine.Reporter window.timedSpecs.push description: @description time: duration + fullName: spec.getFullName() if timedSuites[@suite] window.timedSuites[@suite] += duration