diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-06-01 15:53:52 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-06-01 16:28:43 +0200 |
commit | 8d4f63a1a593928c1718e73043c8ca525440fb6b (patch) | |
tree | 7ed73a37da25064cfeca99e715e8db15c6defb7c /actionpack/CHANGELOG.md | |
parent | ecd1722235d01f44f3fcef032145425cec92d9df (diff) | |
download | rails-8d4f63a1a593928c1718e73043c8ca525440fb6b.tar.gz rails-8d4f63a1a593928c1718e73043c8ca525440fb6b.tar.bz2 rails-8d4f63a1a593928c1718e73043c8ca525440fb6b.zip |
Include routes.mounted_helpers into integration tests
In integration tests, you might want to use helpers from engines that
you mounted in your application. It's not hard to add it by yourself,
but it's unneeded boilerplate. mounted_helpers are now included by
default. That means that given engine mounted like:
mount Foo::Engine => "/foo", :as => "foo"
you will be able to use paths from this engine in tests this way:
foo.root_path #=> "/foo"
(closes #6573)
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 6f737001de..fdfa000c0d 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,7 @@ +## Rails 3.2.6 (unreleased) ## + +* Include mounted_helpers (helpers for accessing mounted engines) in ActionDispatch::IntegrationTest by default. *Piotr Sarnacki* + ## Rails 3.2.4 (May 31, 2012) ## * Deprecate old APIs for highlight, excerpt and word_wrap *Jeremy Walker* |