diff options
author | Rémy Coutable <remy@rymai.me> | 2018-08-30 18:09:00 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-08-30 18:09:00 +0200 |
commit | d4dd4aa63bc0bc30f71b13fd6d21f55393b25bdb (patch) | |
tree | 7f30e292edbc7e63d008d8f858e3aac49fee37b3 /qa | |
parent | 6afdf7423894241e3ecc415c341a5ee53dcbed7d (diff) | |
download | gitlab-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.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 |