From e0f834267642c526299189916ad9c97318c1b121 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Sun, 8 Apr 2007 17:16:36 +0000 Subject: Change default respond_to templates for xml and rjs formats. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb | 1 + actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs | 1 + 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/using_defaults.html.erb | 1 + actionpack/test/fixtures/respond_to/using_defaults.js.rjs | 1 + actionpack/test/fixtures/respond_to/using_defaults.rhtml | 1 - actionpack/test/fixtures/respond_to/using_defaults.rjs | 1 - actionpack/test/fixtures/respond_to/using_defaults.rxml | 1 - actionpack/test/fixtures/respond_to/using_defaults.xml.builder | 1 + .../test/fixtures/respond_to/using_defaults_with_type_list.html.erb | 1 + actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs | 1 + actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rhtml | 1 - actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rjs | 1 - actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rxml | 1 - .../test/fixtures/respond_to/using_defaults_with_type_list.xml.builder | 1 + 16 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb create mode 100644 actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs delete mode 100644 actionpack/test/fixtures/respond_to/all_types_with_layout.rhtml delete mode 100644 actionpack/test/fixtures/respond_to/all_types_with_layout.rjs create mode 100644 actionpack/test/fixtures/respond_to/using_defaults.html.erb create mode 100644 actionpack/test/fixtures/respond_to/using_defaults.js.rjs delete mode 100644 actionpack/test/fixtures/respond_to/using_defaults.rhtml delete mode 100644 actionpack/test/fixtures/respond_to/using_defaults.rjs delete mode 100644 actionpack/test/fixtures/respond_to/using_defaults.rxml create mode 100644 actionpack/test/fixtures/respond_to/using_defaults.xml.builder create mode 100644 actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb create mode 100644 actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs delete mode 100644 actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rhtml delete mode 100644 actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rjs delete mode 100644 actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rxml create mode 100644 actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb b/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb new file mode 100644 index 0000000000..84a84049f8 --- /dev/null +++ b/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb @@ -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.js.rjs b/actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs new file mode 100644 index 0000000000..b7aec7c505 --- /dev/null +++ b/actionpack/test/fixtures/respond_to/all_types_with_layout.js.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/all_types_with_layout.rhtml b/actionpack/test/fixtures/respond_to/all_types_with_layout.rhtml deleted file mode 100644 index 84a84049f8..0000000000 --- a/actionpack/test/fixtures/respond_to/all_types_with_layout.rhtml +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index b7aec7c505..0000000000 --- a/actionpack/test/fixtures/respond_to/all_types_with_layout.rjs +++ /dev/null @@ -1 +0,0 @@ -page << "RJS for all_types_with_layout" \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults.html.erb b/actionpack/test/fixtures/respond_to/using_defaults.html.erb new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionpack/test/fixtures/respond_to/using_defaults.html.erb @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults.js.rjs b/actionpack/test/fixtures/respond_to/using_defaults.js.rjs new file mode 100644 index 0000000000..469fcd8e15 --- /dev/null +++ b/actionpack/test/fixtures/respond_to/using_defaults.js.rjs @@ -0,0 +1 @@ +page[:body].visual_effect :highlight \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults.rhtml b/actionpack/test/fixtures/respond_to/using_defaults.rhtml deleted file mode 100644 index 6769dd60bd..0000000000 --- a/actionpack/test/fixtures/respond_to/using_defaults.rhtml +++ /dev/null @@ -1 +0,0 @@ -Hello world! \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults.rjs b/actionpack/test/fixtures/respond_to/using_defaults.rjs deleted file mode 100644 index 469fcd8e15..0000000000 --- a/actionpack/test/fixtures/respond_to/using_defaults.rjs +++ /dev/null @@ -1 +0,0 @@ -page[:body].visual_effect :highlight \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults.rxml b/actionpack/test/fixtures/respond_to/using_defaults.rxml deleted file mode 100644 index 598d62e2fc..0000000000 --- a/actionpack/test/fixtures/respond_to/using_defaults.rxml +++ /dev/null @@ -1 +0,0 @@ -xml.p "Hello world!" \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults.xml.builder b/actionpack/test/fixtures/respond_to/using_defaults.xml.builder new file mode 100644 index 0000000000..598d62e2fc --- /dev/null +++ b/actionpack/test/fixtures/respond_to/using_defaults.xml.builder @@ -0,0 +1 @@ +xml.p "Hello world!" \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb b/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs b/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs new file mode 100644 index 0000000000..469fcd8e15 --- /dev/null +++ b/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs @@ -0,0 +1 @@ +page[:body].visual_effect :highlight \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rhtml b/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rhtml deleted file mode 100644 index 6769dd60bd..0000000000 --- a/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rhtml +++ /dev/null @@ -1 +0,0 @@ -Hello world! \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rjs b/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rjs deleted file mode 100644 index 469fcd8e15..0000000000 --- a/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rjs +++ /dev/null @@ -1 +0,0 @@ -page[:body].visual_effect :highlight \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rxml b/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rxml deleted file mode 100644 index 598d62e2fc..0000000000 --- a/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.rxml +++ /dev/null @@ -1 +0,0 @@ -xml.p "Hello world!" \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder b/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder new file mode 100644 index 0000000000..598d62e2fc --- /dev/null +++ b/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder @@ -0,0 +1 @@ +xml.p "Hello world!" \ No newline at end of file -- cgit v1.2.3