summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-08-30 18:09:00 +0200
committerRémy Coutable <remy@rymai.me>2018-08-30 18:09:00 +0200
commitd4dd4aa63bc0bc30f71b13fd6d21f55393b25bdb (patch)
tree7f30e292edbc7e63d008d8f858e3aac49fee37b3 /qa
parent6afdf7423894241e3ecc415c341a5ee53dcbed7d (diff)
downloadgitlab-ce-d4dd4aa63bc0bc30f71b13fd6d21f55393b25bdb.tar.gz
[QA] Require Pathname in qa/qa/page/view.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
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