diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-02-27 14:20:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-27 14:20:42 -0500 |
commit | 39d2cde65919729ec1ca3663d7872adf8036fd58 (patch) | |
tree | 34c097baa6266a7e3a3f19e51caf47a8e7dd0e97 /actionpack/lib | |
parent | 6bd33d66dde015a55912af20b469788ba20ddb4e (diff) | |
parent | fc7781646ce1d451ecee82d6ac0c38399c58704c (diff) | |
download | rails-39d2cde65919729ec1ca3663d7872adf8036fd58.tar.gz rails-39d2cde65919729ec1ca3663d7872adf8036fd58.tar.bz2 rails-39d2cde65919729ec1ca3663d7872adf8036fd58.zip |
Merge pull request #32127 from zamith/zamith/screenshot-absolute-path
Uses the absolute path for system test screenshots
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb b/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb index df0c5d3f0e..2c8cee3a9b 100644 --- a/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb +++ b/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb @@ -43,7 +43,7 @@ module ActionDispatch end def image_path - @image_path ||= absolute_image_path.relative_path_from(Pathname.pwd).to_s + @image_path ||= absolute_image_path.to_s end def absolute_image_path |