testdata 0.3.7 → 0.3.8
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
@@ -123,7 +123,7 @@ class Testdata
|
|
123
123
|
script_file = XPath.first(@doc.root, "summary/script/text()").to_s
|
124
124
|
|
125
125
|
if script_file[/\/\/job:/] then
|
126
|
-
s = RScript.new.read
|
126
|
+
s = RScript.new.read(script_file.split(/\s/)).first
|
127
127
|
else
|
128
128
|
|
129
129
|
file_path = File.exists?(script_file) ? script_file : @filepath + '/' + script_file
|