aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-08-09 01:45:52 -0300
committerYehuda Katz <wycats@gmail.com>2009-08-09 04:12:08 -0300
commit964bc4e85517dbd45d86e91445b3b9aecde960d8 (patch)
tree77d21d03ade22c87a391ac826e67fbc085ed45c1 /actionpack/test/fixtures
parent33f01fb1f6e0bf850e9366ef8203c4c944c27540 (diff)
downloadrails-964bc4e85517dbd45d86e91445b3b9aecde960d8.tar.gz
rails-964bc4e85517dbd45d86e91445b3b9aecde960d8.tar.bz2
rails-964bc4e85517dbd45d86e91445b3b9aecde960d8.zip
Rendering a template from ActionView will default to looking for partials only in the current mime type.
* The old behavior was tested only as a side-effect of a different test--the original tests remain; a new template in the XML mime was added. * If you are relying on the current behavior and object to this change, please participate in http://groups.google.com/group/rubyonrails-core/browse_thread/thread/6ef25f3c108389bd
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r--actionpack/test/fixtures/test/greeting.xml.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/test/greeting.xml.erb b/actionpack/test/fixtures/test/greeting.xml.erb
new file mode 100644
index 0000000000..62fb0293f0
--- /dev/null
+++ b/actionpack/test/fixtures/test/greeting.xml.erb
@@ -0,0 +1 @@
+<p>This is grand!</p>