aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-08-26 18:39:40 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-08-27 20:44:01 +0900
commit52422f2af60c0830da6e5749700f911c6c0b22ea (patch)
treef30cc5896cc16b713358c993fb7715b76c514b0f /actionpack/CHANGELOG.md
parentca2a66abef16f0b0a529c1cd533e7ba179e30890 (diff)
downloadrails-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.md6
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