diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-10-06 12:59:06 +0200 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-10-06 12:59:06 +0200 |
commit | 9972b0e6a041354b9fd83945c75b2f099280e772 (patch) | |
tree | 21bbf75a287974962afcaf4ba28d80c82e51f97b /qa | |
parent | 88194b818f53a96fcefb8d61ad2f32a609e2c7ca (diff) | |
download | gitlab-ce-9972b0e6a041354b9fd83945c75b2f099280e772.tar.gz |
Use autoloading instead of an explicit require
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa.rb | 4 | ||||
-rw-r--r-- | qa/qa/scenario/gitlab/project/create.rb | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -34,6 +34,10 @@ module QA module Project autoload :Create, 'qa/scenario/gitlab/project/create' end + + module Sandbox + autoload :Prepare, 'qa/scenario/gitlab/sandbox/prepare' + end end end diff --git a/qa/qa/scenario/gitlab/project/create.rb b/qa/qa/scenario/gitlab/project/create.rb index 078de78de61..49aaf1b184f 100644 --- a/qa/qa/scenario/gitlab/project/create.rb +++ b/qa/qa/scenario/gitlab/project/create.rb @@ -1,5 +1,4 @@ require 'securerandom' -require_relative '../sandbox/prepare' module QA module Scenario |