Commit 8637696c authored by ddavison's avatar ddavison

Let guard catch QA_REMOTE_GRID blank or nil

parent daae58d2
...@@ -63,7 +63,7 @@ module QA ...@@ -63,7 +63,7 @@ module QA
# - "https://user:pass@somehost.com:443/wd/hub" # - "https://user:pass@somehost.com:443/wd/hub"
# - "http://localhost:4444/wd/hub" # - "http://localhost:4444/wd/hub"
return unless ENV['QA_REMOTE_GRID'] return if (ENV['QA_REMOTE_GRID'] || '').empty?
"#{remote_grid_protocol}://#{remote_grid_credentials}#{ENV['QA_REMOTE_GRID']}/wd/hub" "#{remote_grid_protocol}://#{remote_grid_credentials}#{ENV['QA_REMOTE_GRID']}/wd/hub"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment