mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
fix broken respond_to test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -76,7 +76,7 @@ class RespondToController < ActionController::Base
|
||||
end
|
||||
|
||||
def rescue_action(e)
|
||||
raise unless ActionController::MissingTemplate === e
|
||||
raise
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
1
actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rhtml
vendored
Normal file
1
actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rhtml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Hello world!
|
||||
1
actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rjs
vendored
Normal file
1
actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rjs
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page[:body].visual_effect :highlight
|
||||
1
actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rxml
vendored
Normal file
1
actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
xml.p "Hello world!"
|
||||
Reference in New Issue
Block a user