diff options
author | Stan Hu <stanhu@gmail.com> | 2018-09-02 06:28:52 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-09-02 06:28:52 -0700 |
commit | 3c633844d02a548d97612d053d14460fe166bed0 (patch) | |
tree | 269db34c5a4dee1037341d1c3acc8da885596c8b /qa | |
parent | b041dc201fc9e34698532185537a02c2a73c2109 (diff) | |
parent | ba99dfcde262c91e33b5bf7f86ba7c0e3b6f7e52 (diff) | |
download | gitlab-ce-3c633844d02a548d97612d053d14460fe166bed0.tar.gz |
Merge branch 'master' into sh-add-object-storage-qa
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/view.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qa/qa/page/view.rb b/qa/qa/page/view.rb index b2a2da4dbf3..c59fad2e223 100644 --- a/qa/qa/page/view.rb +++ b/qa/qa/page/view.rb @@ -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 |