diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-05-02 02:15:09 -0700 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-05-02 02:15:09 -0700 |
commit | 72160d9f89481ea60c8268ff026099f07b1e5ed6 (patch) | |
tree | 950b7516323658c7012e3ca742b7bd9930a83aa7 /actionpack/test/new_base | |
parent | ad2a1b5cb1afb0ea810cfdcac2ba1be95c55f1aa (diff) | |
download | rails-72160d9f89481ea60c8268ff026099f07b1e5ed6.tar.gz rails-72160d9f89481ea60c8268ff026099f07b1e5ed6.tar.bz2 rails-72160d9f89481ea60c8268ff026099f07b1e5ed6.zip |
Implement FooController.action(:name)
* Rails actions are now Rack endpoints, and can be retrieved
via FooController.action(name) and called with an env
* Updated some tests that relied on the old internal
#process/#call implementation
Diffstat (limited to 'actionpack/test/new_base')
-rw-r--r-- | actionpack/test/new_base/test_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/new_base/test_helper.rb b/actionpack/test/new_base/test_helper.rb index 547eb1ef72..78662dc989 100644 --- a/actionpack/test/new_base/test_helper.rb +++ b/actionpack/test/new_base/test_helper.rb @@ -66,7 +66,7 @@ class Rack::TestCase < ActiveSupport::TestCase end def assert_body(body) - assert_equal body, last_response.body + assert_equal body, Array.wrap(last_response.body).join end def self.assert_body(body) |