Skip to content

A platform for community discussion. Free, open, simple.

Fix missing variable in smoke test rake task.

Guo Xiang Tan4986132e1b29
diff --git a/lib/tasks/smoke_test.rake b/lib/tasks/smoke_test.rake
index 61f0a74ce92..2558558ad8c 100644
--- a/lib/tasks/smoke_test.rake
+++ b/lib/tasks/smoke_test.rake
@@ -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