Fix missing variable in smoke test rake task.

This commit is contained in:
Guo Xiang Tan 2017-12-20 14:49:41 +08:00
parent 87c334c063
commit 4986132e1b

View File

@ -36,9 +36,7 @@ task "smoke:test" do
results = ""
"node #{Rails.root}/test/smoke_test.js #{url}"
IO.popen(command).each do |line|
IO.popen("node #{Rails.root}/test/smoke_test.js #{url}").each do |line|
puts line
results << line
end