diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-02-08 10:09:51 -0600 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-02-14 10:08:30 -0600 |
commit | d6fd2f5b0f8e54ea36118d5cf6a6abce9d623188 (patch) | |
tree | 494c2dd35d718b8e1f58a6ea708862fcf96ca052 | |
parent | fa1134ea832019f74e20444fcfdf42e76195d321 (diff) | |
download | gitlab-ce-d6fd2f5b0f8e54ea36118d5cf6a6abce9d623188.tar.gz |
Add Runtime::User.default_name
-rw-r--r-- | qa/qa/runtime/user.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qa/qa/runtime/user.rb b/qa/qa/runtime/user.rb index 39e6adf9522..ecc9ab321ba 100644 --- a/qa/qa/runtime/user.rb +++ b/qa/qa/runtime/user.rb @@ -3,8 +3,12 @@ module QA module User extend self + def default_name + 'root' + end + def name - Runtime::Env.user_username || 'root' + Runtime::Env.user_username || default_name end def password |