2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

DEV: Install dependencies before running smoke test.

This commit is contained in:
Guo Xiang Tan 2018-06-05 18:46:41 +08:00
parent 478c86e0a4
commit 32c0ff4831

View file

@ -8,6 +8,8 @@ task "smoke:test" do
abort "Chrome 59 or higher is required to run smoke tests in headless mode."
end
system("yarn install --dev")
url = ENV["URL"]
if !url
require "#{Rails.root}/config/environment"