diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-02-08 19:09:51 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-02-14 19:08:30 +0300 |
commit | d6fd2f5b0f8e54ea36118d5cf6a6abce9d623188 (patch) | |
tree | 494c2dd35d718b8e1f58a6ea708862fcf96ca052 /qa | |
parent | fa1134ea832019f74e20444fcfdf42e76195d321 (diff) |
Add Runtime::User.default_name
Diffstat (limited to 'qa')
-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 |