aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-02-20 16:48:43 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2012-02-20 17:52:14 -0200
commit70fd692c1eada44027f9581f84461ca87abba8c6 (patch)
treee22731e320d8915dfaa3911bb5d90e5f33e239a8 /actionpack/test/fixtures
parent5e3b54d25aeb84c4d6806416fbd6c21c29564d6a (diff)
downloadrails-70fd692c1eada44027f9581f84461ca87abba8c6.tar.gz
rails-70fd692c1eada44027f9581f84461ca87abba8c6.tar.bz2
rails-70fd692c1eada44027f9581f84461ca87abba8c6.zip
Use the right format when a partial is missing.
Closes #5025
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r--actionpack/test/fixtures/with_format.json.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/with_format.json.erb b/actionpack/test/fixtures/with_format.json.erb
new file mode 100644
index 0000000000..a7f480ab1d
--- /dev/null
+++ b/actionpack/test/fixtures/with_format.json.erb
@@ -0,0 +1 @@
+<%= render :partial => 'missing', :formats => [:json] %>