Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/flow/login.rb')
-rw-r--r--qa/qa/flow/login.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/qa/qa/flow/login.rb b/qa/qa/flow/login.rb
index 05f114acbc5..ec205e0aa86 100644
--- a/qa/qa/flow/login.rb
+++ b/qa/qa/flow/login.rb
@@ -3,7 +3,7 @@
module QA
module Flow
module Login
- module_function
+ extend self
def while_signed_in(as: nil, address: :gitlab, admin: false)
sign_in(as: as, address: address, admin: admin)
@@ -52,3 +52,5 @@ module QA
end
end
end
+
+QA::Flow::Login.prepend_mod_with('Flow::Login', namespace: QA)