rspec-illustrate 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/formatters/yard.rb +2 -2
- data/lib/rspec/illustrate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b822c22e98c50f9a1ddd581934caccca34b562c
|
4
|
+
data.tar.gz: cbeaff9343b040ae9ec13f23fda3af8d39d5ae3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5312f1ee2307e954240964da871308c172cd99d5eceb4a4fb992cb76573e2426975aec51f1a9c84f4931a3c12c0f9b1f0efa80bdff2f4537a81f0c4eaf0afb42
|
7
|
+
data.tar.gz: cf6b281984a72fb99dded2eeb08810dfc97530ba48b208263bb1f7b24e6c3a17c4bdfc4ed7caf371b5781ca890a9fee67d160d5518f34d455ded5a1348e304ef
|
@@ -92,10 +92,10 @@ module RSpec
|
|
92
92
|
end
|
93
93
|
|
94
94
|
if illustration.has_key?(:html) then
|
95
|
-
node.add_element(REXML::
|
95
|
+
node.add_element(REXML::Document.new(illustration[:html]))
|
96
96
|
else
|
97
97
|
node.add_element("pre", {'class'=>'rspec_illustration_content'}).text =
|
98
|
-
REXML::Text.new(illustration[:text], true, nil,
|
98
|
+
REXML::Text.new(illustration[:text], true, nil, false)
|
99
99
|
end
|
100
100
|
|
101
101
|
node
|