ciserver_formatter 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ module CiserverFormatter
|
|
30
30
|
|
31
31
|
def example_group_started(example_group)
|
32
32
|
super
|
33
|
-
output.puts "#{current_indentation}
|
33
|
+
output.puts "#{current_indentation}<span>#{example_group.description}</span><br />"
|
34
34
|
@group_level += 1
|
35
35
|
end
|
36
36
|
|
@@ -45,7 +45,7 @@ module CiserverFormatter
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def write_output(description, status)
|
48
|
-
output.puts "#{current_indentation}<span class=\"status\">#{description}<span class=\"time\">#{Time.now - @start_time}</span></span><br />"
|
48
|
+
output.puts "#{current_indentation}<span class=\"#{status}\">#{description}<span class=\"time\">#{Time.now - @start_time}</span></span><br />"
|
49
49
|
end
|
50
50
|
|
51
51
|
def example_pending(example)
|
@@ -81,7 +81,7 @@ module CiserverFormatter
|
|
81
81
|
|
82
82
|
private
|
83
83
|
def current_indentation
|
84
|
-
'&nsbp;' * @group_level
|
84
|
+
'&nsbp;&nsbp;' * @group_level
|
85
85
|
end
|
86
86
|
|
87
87
|
def total_count
|