From bbe86077c2148559f7548520303b2e683ff86119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Wed, 29 Jul 2009 11:13:08 +0200 Subject: Added tests for respond_to class method. Signed-off-by: Yehuda Katz --- actionpack/test/fixtures/respond_with/using_defaults.html.erb | 1 + actionpack/test/fixtures/respond_with/using_defaults.js.rjs | 1 + .../test/fixtures/respond_with/using_defaults_with_type_list.js.rjs | 1 + .../test/fixtures/respond_with/using_defaults_with_type_list.xml.builder | 1 + 4 files changed, 4 insertions(+) create mode 100644 actionpack/test/fixtures/respond_with/using_defaults.html.erb create mode 100644 actionpack/test/fixtures/respond_with/using_defaults.js.rjs create mode 100644 actionpack/test/fixtures/respond_with/using_defaults_with_type_list.js.rjs create mode 100644 actionpack/test/fixtures/respond_with/using_defaults_with_type_list.xml.builder (limited to 'actionpack/test/fixtures/respond_with') diff --git a/actionpack/test/fixtures/respond_with/using_defaults.html.erb b/actionpack/test/fixtures/respond_with/using_defaults.html.erb new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionpack/test/fixtures/respond_with/using_defaults.html.erb @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionpack/test/fixtures/respond_with/using_defaults.js.rjs b/actionpack/test/fixtures/respond_with/using_defaults.js.rjs new file mode 100644 index 0000000000..469fcd8e15 --- /dev/null +++ b/actionpack/test/fixtures/respond_with/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_with/using_defaults_with_type_list.js.rjs b/actionpack/test/fixtures/respond_with/using_defaults_with_type_list.js.rjs new file mode 100644 index 0000000000..469fcd8e15 --- /dev/null +++ b/actionpack/test/fixtures/respond_with/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_with/using_defaults_with_type_list.xml.builder b/actionpack/test/fixtures/respond_with/using_defaults_with_type_list.xml.builder new file mode 100644 index 0000000000..598d62e2fc --- /dev/null +++ b/actionpack/test/fixtures/respond_with/using_defaults_with_type_list.xml.builder @@ -0,0 +1 @@ +xml.p "Hello world!" \ No newline at end of file -- cgit v1.2.3