From 457b5a011f6f5f6f7255176f63e7b4c731a91331 Mon Sep 17 00:00:00 2001 From: Christian Williams & Erik Hanson Date: Fri, 7 Aug 2009 14:11:40 -0700 Subject: [PATCH] Use jasmine CSS, and get rid of HTML in plain text stacktrace --- contrib/ruby/jasmine_spec_builder.rb | 2 +- contrib/ruby/run.html | 2 +- lib/TrivialReporter.js | 2 +- lib/jasmine.css | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/ruby/jasmine_spec_builder.rb b/contrib/ruby/jasmine_spec_builder.rb index 0071a49..591cd10 100644 --- a/contrib/ruby/jasmine_spec_builder.rb +++ b/contrib/ruby/jasmine_spec_builder.rb @@ -121,7 +121,7 @@ module Jasmine out << "\n" unless message["passed"] - stack_trace = message["trace"]["stack"] + stack_trace = message["trace"]["stack"].gsub(/
/, "\n").gsub(/<\/?b>/, " ") STDERR << stack_trace.gsub(/\(.*\)@http:\/\/localhost:[0-9]+\/specs\//, "/spec/") STDERR << "\n" end diff --git a/contrib/ruby/run.html b/contrib/ruby/run.html index c435004..501590d 100644 --- a/contrib/ruby/run.html +++ b/contrib/ruby/run.html @@ -8,7 +8,7 @@ - +