From b83efadb32fe55ba7a7d23d650a8adc1a351eab7 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Tue, 5 Jun 2007 16:51:49 +0000 Subject: Assume html format when rendering partials in RJS. #8076 [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6950 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/prototype_helper_test.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/prototype_helper_test.rb b/actionpack/test/template/prototype_helper_test.rb index b669d20b22..c08bf9c85e 100644 --- a/actionpack/test/template/prototype_helper_test.rb +++ b/actionpack/test/template/prototype_helper_test.rb @@ -15,6 +15,10 @@ class Author::Nested < Author; end module BaseTest + def self.included(base) + base.send :attr_accessor, :template_format + end + include ActionView::Helpers::JavaScriptHelper include ActionView::Helpers::PrototypeHelper include ActionView::Helpers::ScriptaculousHelper -- cgit v1.2.3