Merge branch '46673-qa-sanity-tests-fail-with-uninitialized-constant-qa-page-view-pathname-error' into 'master'
Resolve "qa sanity tests fail with 'uninitialized constant QA::Page::View::Pathname' error" Closes #46673 See merge request gitlab-org/gitlab-ce!21437
This commit is contained in:
commit
5f047c1e2d
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
require 'pathname'
|
||||
|
||||
module QA
|
||||
module Page
|
||||
class View
|
||||
|
@ -9,7 +11,7 @@ module QA
|
|||
end
|
||||
|
||||
def pathname
|
||||
@pathname ||= Pathname.new(::File.join(__dir__, '../../../', @path))
|
||||
@pathname ||= ::Pathname.new(::File.join(__dir__, '../../../', @path))
|
||||
.cleanpath.expand_path
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue