rspec_junit_formatter_bitbucket 0.2.0.pre.180 → 0.2.0.pre.181
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec_junit_formatter_bitbucket/xml.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a679c53d81e0c452517f3c1703df9f4f9b9f9a19d8a3ef01cafbb3f9f726be9
|
4
|
+
data.tar.gz: 169c8b283ec409d92015d95293d50e8eba5205e6d97dc226daa1820dd1dfa7c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5396b2a14f20354f47c9ff2c3b13d40fdc54483e887a1fbcd8a86d3ac54e6eb33971d9d926270db1dfe1e9c28162a34db07a571a9260744877103b29009f6eaf
|
7
|
+
data.tar.gz: ad68d4fb97c4170bd370c88097d4c4b2c3dcfaa5d8416b7d6b850a43ff3e348bb389aefd3a5573b459fab8936a35adeb5b35106c0468c80df975aa006020c3ce
|
@@ -11,9 +11,9 @@ module RspecJunitFormatterBitbucket
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def dump
|
14
|
-
@output << %(<test-suite #{rm_char_nw_line(testsuite_attr)}
|
14
|
+
@output << %(<test-suite #{rm_char_nw_line(testsuite_attr)}>\n)
|
15
15
|
@output << %(<properties>\n)
|
16
|
-
@output << %(<property #{rm_char_nw_line(property_attr)}
|
16
|
+
@output << %(<property #{rm_char_nw_line(property_attr)}/>\n)
|
17
17
|
@output << %(</properties>\n)
|
18
18
|
dump_examples
|
19
19
|
@output << %(</test-suite>\n)
|
@@ -22,7 +22,7 @@ module RspecJunitFormatterBitbucket
|
|
22
22
|
private
|
23
23
|
|
24
24
|
def first_node
|
25
|
-
%(<?xml version="1.0" encoding="UTF-8"?>\n
|
25
|
+
%(<?xml version="1.0" encoding="UTF-8"?>\n)
|
26
26
|
end
|
27
27
|
|
28
28
|
def testsuite_attr
|
@@ -41,7 +41,7 @@ module RspecJunitFormatterBitbucket
|
|
41
41
|
def property_attr
|
42
42
|
<<~PROPERTY
|
43
43
|
name="seed"
|
44
|
-
value="#{Format.escape(RSpec.configuration.seed.to_s)}
|
44
|
+
value="#{Format.escape(RSpec.configuration.seed.to_s)}"
|
45
45
|
PROPERTY
|
46
46
|
end
|
47
47
|
|
@@ -76,7 +76,7 @@ module RspecJunitFormatterBitbucket
|
|
76
76
|
end
|
77
77
|
|
78
78
|
def dump_example(example)
|
79
|
-
@output << %(<test-case #{rm_char_nw_line(testcase_attr(example))}
|
79
|
+
@output << %(<test-case #{rm_char_nw_line(testcase_attr(example))}>)
|
80
80
|
yield if block_given?
|
81
81
|
dump_output(example)
|
82
82
|
@output << %(</test-case>\n)
|