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}#{example_group.description}"
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
@@ -1,3 +1,3 @@
1
1
  module CiserverFormatter
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ciserver_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: