Commit 5f047c1e authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch...

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
parents 11b1d2e9 d4dd4aa6
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment