testdata 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/testdata.rb +1 -1
- metadata +1 -1
data/lib/testdata.rb
CHANGED
@@ -106,7 +106,7 @@ class Testdata
|
|
106
106
|
body = content[i][2].strip.gsub("\n ","\n")
|
107
107
|
if content[i][1] then
|
108
108
|
content[i][1].zip(values).each do |keyword, value|
|
109
|
-
body.gsub!(/#{keyword}(?!:)/, value)
|
109
|
+
body.gsub!(/#{keyword}(?!:)/, "'%s'" % value )
|
110
110
|
end
|
111
111
|
end
|
112
112
|
["# #{path_no}) #{content[i][0]}\n", body + "\n", output + "\n\n"]
|