Use jasmine CSS, and get rid of HTML in plain text stacktrace

This commit is contained in:
Christian Williams & Erik Hanson
2009-08-07 14:11:40 -07:00
parent 331730f8f5
commit 457b5a011f
4 changed files with 5 additions and 5 deletions

View File

@@ -121,7 +121,7 @@ module Jasmine
out << "\n"
unless message["passed"]
stack_trace = message["trace"]["stack"]
stack_trace = message["trace"]["stack"].gsub(/<br \/>/, "\n").gsub(/<\/?b>/, " ")
STDERR << stack_trace.gsub(/\(.*\)@http:\/\/localhost:[0-9]+\/specs\//, "/spec/")
STDERR << "\n"
end