summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorddavison <ddavison@gitlab.com>2018-12-17 13:30:30 -0800
committerSanad Liaquat <sliaquat@gitlab.com>2019-01-09 12:02:56 +0500
commit2620efaf149fb5ea670812432a0acea41a9c01d9 (patch)
tree66642ca1fed1b35f582ddc5943d3e3c957608ceb /qa
parent05886c63d5020d3cccf6fe21766d0488c3780d78 (diff)
downloadgitlab-ce-2620efaf149fb5ea670812432a0acea41a9c01d9.tar.gz
Convert passed browser to sym
Signed-off-by: ddavison <ddavison@gitlab.com>
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/runtime/env.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/runtime/env.rb b/qa/qa/runtime/env.rb
index aec209c1dd2..2e7ad193337 100644
--- a/qa/qa/runtime/env.rb
+++ b/qa/qa/runtime/env.rb
@@ -78,7 +78,7 @@ module QA
end
def browser
- ENV['QA_BROWSER'] || :chrome
+ ENV['QA_BROWSER'].nil? ? :chrome : ENV['QA_BROWSER'].to_sym
end
def user_username