From b6f2f738c73b1dfe66be61e1b37ca21fa698cf1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Wed, 17 Oct 2018 18:08:20 +0000 Subject: First iteration to allow creating QA resources using the API --- qa/qa/factory/resource/user.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qa/qa/factory/resource/user.rb') diff --git a/qa/qa/factory/resource/user.rb b/qa/qa/factory/resource/user.rb index e8b9ea2e6b4..36edf787b64 100644 --- a/qa/qa/factory/resource/user.rb +++ b/qa/qa/factory/resource/user.rb @@ -31,10 +31,10 @@ module QA defined?(@username) && defined?(@password) end - product(:name) { |factory| factory.name } - product(:username) { |factory| factory.username } - product(:email) { |factory| factory.email } - product(:password) { |factory| factory.password } + product :name + product :username + product :email + product :password def fabricate! # Don't try to log-out if we're not logged-in -- cgit v1.2.1