diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-12-06 23:16:25 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-12-06 23:16:25 +0000 |
commit | 953214bd2332857145e1e61e9dc13fac53195633 (patch) | |
tree | 39124005efbd5fe7bd833802d60bb5d9432b7734 /actionpack/test/controller | |
parent | 189ecafa5395f899c2f0593039cf978d637e31b3 (diff) | |
download | rails-953214bd2332857145e1e61e9dc13fac53195633.tar.gz rails-953214bd2332857145e1e61e9dc13fac53195633.tar.bz2 rails-953214bd2332857145e1e61e9dc13fac53195633.zip |
Remove unrelated render :yaml changes. References #4185.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/mime_responds_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/mime_responds_test.rb b/actionpack/test/controller/mime_responds_test.rb index c4d8709fc3..5692d26232 100644 --- a/actionpack/test/controller/mime_responds_test.rb +++ b/actionpack/test/controller/mime_responds_test.rb @@ -19,11 +19,11 @@ class RespondToController < ActionController::Base type.all { render :text => "Nothing" } end end - + def json_or_yaml respond_to do |type| type.json { render :text => "JSON" } - type.yaml { render :yaml => "YAML" } + type.yaml { render :text => "YAML" } end end |