From cc6e8ae57a4a886d68cfa95829fcb7a65a273cab Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 18 Mar 2006 21:17:14 +0000 Subject: 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 --- actionpack/test/fixtures/respond_to/all_types_with_layout.rhtml | 1 + actionpack/test/fixtures/respond_to/all_types_with_layout.rjs | 1 + actionpack/test/fixtures/respond_to/layouts/standard.rhtml | 1 + 3 files changed, 3 insertions(+) create mode 100644 actionpack/test/fixtures/respond_to/all_types_with_layout.rhtml create mode 100644 actionpack/test/fixtures/respond_to/all_types_with_layout.rjs create mode 100644 actionpack/test/fixtures/respond_to/layouts/standard.rhtml (limited to 'actionpack/test/fixtures/respond_to') 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 @@ +<%= @content_for_layout %> \ No newline at end of file -- cgit v1.2.3