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
1 changed files with 2 additions and 0 deletions

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"