Use autoloading instead of an explicit require

This commit is contained in:
Robert Speicher 2017-10-06 12:59:06 +02:00
parent 88194b818f
commit 9972b0e6a0
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -1,5 +1,4 @@
require 'securerandom'
require_relative '../sandbox/prepare'
module QA
module Scenario