diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-08-26 18:39:40 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-08-27 20:44:01 +0900 |
commit | 52422f2af60c0830da6e5749700f911c6c0b22ea (patch) | |
tree | f30cc5896cc16b713358c993fb7715b76c514b0f /actionpack/CHANGELOG.md | |
parent | ca2a66abef16f0b0a529c1cd533e7ba179e30890 (diff) | |
download | rails-52422f2af60c0830da6e5749700f911c6c0b22ea.tar.gz rails-52422f2af60c0830da6e5749700f911c6c0b22ea.tar.bz2 rails-52422f2af60c0830da6e5749700f911c6c0b22ea.zip |
Retrive screenshot in relative path of current directory
In Rails engine `Rails.root `returns the path of the dummy application.
Therefore, there is no `tmp` directly where the test is running, so can
not get the screenshot.
For this reason, instead of directly specifying tmp, retrive screenshot by
relative path from the current directory.
Fixes #30405
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 938b24a6b9..b56a1c5d4b 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,9 @@ +* Make `take_failed_screenshot` work within engine. + + Fixes #30405. + + *Yuji Yaginuma* + * Deprecate `ActionDispatch::TestResponse` response aliases `#success?`, `#missing?` & `#error?` are not supported by the actual |