diff options
Diffstat (limited to 'qa/qa/runtime/user.rb')
-rw-r--r-- | qa/qa/runtime/user.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qa/qa/runtime/user.rb b/qa/qa/runtime/user.rb index e4eeca2000f..cb2a86276f9 100644 --- a/qa/qa/runtime/user.rb +++ b/qa/qa/runtime/user.rb @@ -6,7 +6,10 @@ module QA extend self def admin - Struct.new(:username, :password).new(admin_username, admin_password) + QA::Resource::User.init do |user| + user.username = admin_username + user.password = admin_password + end end def default_username |