diff options
author | Chris Hapgood <cch1@hapgoods.com> | 2009-11-06 17:02:55 -0500 |
---|---|---|
committer | Eloy Duran <eloy.de.enige@gmail.com> | 2009-11-07 00:42:07 +0100 |
commit | c2cfb201984f8dff2b3534163b6145fe2560eb80 (patch) | |
tree | 3ef9ec588ee8388fdf62d336a55b575960877d80 /actionpack/lib | |
parent | b43964d6061f4a31320906172f763dd3dd188f4d (diff) | |
download | rails-c2cfb201984f8dff2b3534163b6145fe2560eb80.tar.gz rails-c2cfb201984f8dff2b3534163b6145fe2560eb80.tar.bz2 rails-c2cfb201984f8dff2b3534163b6145fe2560eb80.zip |
Share ActionView::TestCase's output_buffer with view for concat support.
[#3467 state:resolved]
Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/test_case.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/test_case.rb b/actionpack/lib/action_view/test_case.rb index 8beda24aba..86bbad822d 100644 --- a/actionpack/lib/action_view/test_case.rb +++ b/actionpack/lib/action_view/test_case.rb @@ -120,6 +120,7 @@ module ActionView def _view view = ActionView::Base.new(ActionController::Base.view_paths, _assigns, @controller) view.class.send :include, _helpers + view.output_buffer = self.output_buffer view end |