barthes 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,8 @@ module Barthes
31
31
  end
32
32
  end
33
33
  when 'action'
34
- name = [parents, "##{json.last['number'].to_s} #{json[1]}"].join('.')
34
+ # TODO: zero padding with calculation
35
+ name = "##{sprintf('%03d', json.last['number'])} #{parents.join(' > ')} #{json[1]}"
35
36
  @xml.testcase(name: name) do
36
37
  case json.last['status']
37
38
  when 'skipped'
@@ -1,3 +1,3 @@
1
1
  module Barthes
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barthes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: