aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/respond_to
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-03-18 21:17:14 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-03-18 21:17:14 +0000
commitcc6e8ae57a4a886d68cfa95829fcb7a65a273cab (patch)
tree8c08cf15e86164cc301472fbb86b214b10cba827 /actionpack/test/fixtures/respond_to
parent3257a4b9b0081d0f86d630aeb107d8334730bb79 (diff)
downloadrails-cc6e8ae57a4a886d68cfa95829fcb7a65a273cab.tar.gz
rails-cc6e8ae57a4a886d68cfa95829fcb7a65a273cab.tar.bz2
rails-cc6e8ae57a4a886d68cfa95829fcb7a65a273cab.zip
Removed XML argument style for respond_to, so type.xml(object.to_xml) no longer works -- it wasnt worth the exception
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/fixtures/respond_to')
-rw-r--r--actionpack/test/fixtures/respond_to/all_types_with_layout.rhtml1
-rw-r--r--actionpack/test/fixtures/respond_to/all_types_with_layout.rjs1
-rw-r--r--actionpack/test/fixtures/respond_to/layouts/standard.rhtml1
3 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/respond_to/all_types_with_layout.rhtml b/actionpack/test/fixtures/respond_to/all_types_with_layout.rhtml
new file mode 100644
index 0000000000..84a84049f8
--- /dev/null
+++ b/actionpack/test/fixtures/respond_to/all_types_with_layout.rhtml
@@ -0,0 +1 @@
+HTML for all_types_with_layout \ No newline at end of file
diff --git a/actionpack/test/fixtures/respond_to/all_types_with_layout.rjs b/actionpack/test/fixtures/respond_to/all_types_with_layout.rjs
new file mode 100644
index 0000000000..b7aec7c505
--- /dev/null
+++ b/actionpack/test/fixtures/respond_to/all_types_with_layout.rjs
@@ -0,0 +1 @@
+page << "RJS for all_types_with_layout" \ No newline at end of file
diff --git a/actionpack/test/fixtures/respond_to/layouts/standard.rhtml b/actionpack/test/fixtures/respond_to/layouts/standard.rhtml
new file mode 100644
index 0000000000..fcb28ec755
--- /dev/null
+++ b/actionpack/test/fixtures/respond_to/layouts/standard.rhtml
@@ -0,0 +1 @@
+<html><%= @content_for_layout %></html> \ No newline at end of file