summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-09-02 06:28:52 -0700
committerStan Hu <stanhu@gmail.com>2018-09-02 06:28:52 -0700
commit3c633844d02a548d97612d053d14460fe166bed0 (patch)
tree269db34c5a4dee1037341d1c3acc8da885596c8b /qa
parentb041dc201fc9e34698532185537a02c2a73c2109 (diff)
parentba99dfcde262c91e33b5bf7f86ba7c0e3b6f7e52 (diff)
downloadgitlab-ce-3c633844d02a548d97612d053d14460fe166bed0.tar.gz
Merge branch 'master' into sh-add-object-storage-qa
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/view.rb4
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