Use autoloading instead of an explicit require
This commit is contained in:
parent
88194b818f
commit
9972b0e6a0
2 changed files with 4 additions and 1 deletions
4
qa/qa.rb
4
qa/qa.rb
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require 'securerandom'
|
||||
require_relative '../sandbox/prepare'
|
||||
|
||||
module QA
|
||||
module Scenario
|
||||
|
|
Loading…
Reference in a new issue