summaryrefslogtreecommitdiff
path: root/qa/qa/factory/resource/user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/factory/resource/user.rb')
-rw-r--r--qa/qa/factory/resource/user.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/qa/qa/factory/resource/user.rb b/qa/qa/factory/resource/user.rb
index 6e6f46f7a95..e361face1f0 100644
--- a/qa/qa/factory/resource/user.rb
+++ b/qa/qa/factory/resource/user.rb
@@ -5,6 +5,7 @@ module QA
module Resource
class User < Factory::Base
attr_reader :unique_id
+ attr_writer :username, :password
def initialize
@unique_id = SecureRandom.hex(8)
@@ -30,11 +31,6 @@ module QA
defined?(@username) && defined?(@password)
end
- attribute :name
- attribute :username
- attribute :email
- attribute :password
-
def fabricate!
# Don't try to log-out if we're not logged-in
if Page::Main::Menu.perform { |p| p.has_personal_area?(wait: 0) }