mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX qunit test runner for phantomjs 2.0
This commit is contained in:
@@ -35,7 +35,7 @@ task "qunit:test" => :environment do
|
||||
begin
|
||||
success = true
|
||||
test_path = "#{Rails.root}/vendor/assets/javascripts"
|
||||
cmd = "phantomjs #{test_path}/run-qunit.js \"http://localhost:#{port}/qunit\""
|
||||
cmd = "phantomjs #{test_path}/run-qunit.js http://localhost:#{port}/qunit"
|
||||
|
||||
# wait for server to respond, will exception out on failure
|
||||
tries = 0
|
||||
|
||||
Reference in New Issue
Block a user