From 2ecc678ed6ab60c1bdc7dce67c0c908542c5008d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sun, 1 Feb 2009 09:43:39 +0100 Subject: Added localized rescue (404.da.html) [#1835 state:committed] Signed-off-by: David Heinemeier Hansson --- actionpack/test/fixtures/public/500.da.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 actionpack/test/fixtures/public/500.da.html (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/public/500.da.html b/actionpack/test/fixtures/public/500.da.html new file mode 100644 index 0000000000..a497c13656 --- /dev/null +++ b/actionpack/test/fixtures/public/500.da.html @@ -0,0 +1 @@ +500 localized error fixture -- cgit v1.2.3 From 06182ea02e92afad579998aa80144588e8865ac3 Mon Sep 17 00:00:00 2001 From: Adam McCrea Date: Thu, 5 Feb 2009 15:23:05 -0600 Subject: implicitly rendering a js response should not use the default layout [#1844 state:resolved] Signed-off-by: Joshua Peek --- .../test/fixtures/test/render_implicit_js_template_without_layout.js.erb | 1 + 1 file changed, 1 insertion(+) create mode 100644 actionpack/test/fixtures/test/render_implicit_js_template_without_layout.js.erb (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/test/render_implicit_js_template_without_layout.js.erb b/actionpack/test/fixtures/test/render_implicit_js_template_without_layout.js.erb new file mode 100644 index 0000000000..d5b94af505 --- /dev/null +++ b/actionpack/test/fixtures/test/render_implicit_js_template_without_layout.js.erb @@ -0,0 +1 @@ +alert('hello'); -- cgit v1.2.3 From b1c1e3deb7d752292abaff34ba66a3eae030d252 Mon Sep 17 00:00:00 2001 From: Eugene Pimenov Date: Thu, 5 Feb 2009 07:10:03 +0300 Subject: Ruby 1.9 compat: change encoding of action_view/renderable to utf-8, so erb templates can use utf-8 properly [#1881 state:committed] Signed-off-by: Jeremy Kemper --- actionpack/test/fixtures/test/utf8.html.erb | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 actionpack/test/fixtures/test/utf8.html.erb (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/test/utf8.html.erb b/actionpack/test/fixtures/test/utf8.html.erb new file mode 100644 index 0000000000..0b4d19aa0e --- /dev/null +++ b/actionpack/test/fixtures/test/utf8.html.erb @@ -0,0 +1,2 @@ +Русский текст +日本語のテキスト \ No newline at end of file -- cgit v1.2.3 From 24f2e676f700b8a387c6f4c27acf172658cd7863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Fri, 6 Feb 2009 23:23:50 -0600 Subject: Added support to dashed locales in templates localization [#1888 state:resolved] Signed-off-by: Joshua Peek --- actionpack/test/fixtures/test/hello_world.pt-BR.html.erb | 1 + 1 file changed, 1 insertion(+) create mode 100644 actionpack/test/fixtures/test/hello_world.pt-BR.html.erb (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/test/hello_world.pt-BR.html.erb b/actionpack/test/fixtures/test/hello_world.pt-BR.html.erb new file mode 100644 index 0000000000..773b3c8c6e --- /dev/null +++ b/actionpack/test/fixtures/test/hello_world.pt-BR.html.erb @@ -0,0 +1 @@ +Ola mundo \ No newline at end of file -- cgit v1.2.3 From 50f51ff95047858fa6dd889ade3027b7254c6dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sat, 7 Feb 2009 11:37:02 -0600 Subject: Render implicit html template when xhr request now supports localization [#1886 state:resolved] Signed-off-by: Joshua Peek --- .../test/render_implicit_html_template_from_xhr_request.da.html.erb | 1 + 1 file changed, 1 insertion(+) create mode 100644 actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb b/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb new file mode 100644 index 0000000000..0740b2d07c --- /dev/null +++ b/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb @@ -0,0 +1 @@ +Hey HTML! -- cgit v1.2.3 From e4a7c0bb5b175e6eceb2fe808075d6122521237c Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sat, 7 Feb 2009 12:06:35 -0600 Subject: ~ backup files don't clobber original templates [#1818 state:resolved] --- actionpack/test/fixtures/test/hello_world.erb~ | 1 + 1 file changed, 1 insertion(+) create mode 100644 actionpack/test/fixtures/test/hello_world.erb~ (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/test/hello_world.erb~ b/actionpack/test/fixtures/test/hello_world.erb~ new file mode 100644 index 0000000000..21934a1c95 --- /dev/null +++ b/actionpack/test/fixtures/test/hello_world.erb~ @@ -0,0 +1 @@ +Don't pick me! \ No newline at end of file -- cgit v1.2.3 From 8c5cc66a831aadb159f3daaffa4208064c30af0e Mon Sep 17 00:00:00 2001 From: Sven Fuchs Date: Fri, 20 Feb 2009 14:19:45 -0600 Subject: make action_controller/layouts pick templates from the current instance's view_paths instead of the class view_paths [#1974 state:resolved] Signed-off-by: Joshua Peek --- actionpack/test/fixtures/layout_tests/alt/layouts/alt.rhtml | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 actionpack/test/fixtures/layout_tests/alt/layouts/alt.rhtml (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/layout_tests/alt/layouts/alt.rhtml b/actionpack/test/fixtures/layout_tests/alt/layouts/alt.rhtml new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3 From b35562f432d0807517a614a540026c2fc557e2ac Mon Sep 17 00:00:00 2001 From: Matt Jones Date: Tue, 24 Feb 2009 10:38:07 -0600 Subject: correctly handle layouts for AJAX requests and regular js files [#2052 state:resolved] Signed-off-by: Joshua Peek --- actionpack/test/fixtures/layouts/xhr.html.erb | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 actionpack/test/fixtures/layouts/xhr.html.erb (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/layouts/xhr.html.erb b/actionpack/test/fixtures/layouts/xhr.html.erb new file mode 100644 index 0000000000..85285324ec --- /dev/null +++ b/actionpack/test/fixtures/layouts/xhr.html.erb @@ -0,0 +1,2 @@ +XHR! +<%= yield %> \ No newline at end of file -- cgit v1.2.3 From 92a30b0c88384feafc0da2864c01ff5c3a6f25ff Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Tue, 24 Feb 2009 11:36:58 -0600 Subject: missed template fixtures with ~ --- actionpack/test/fixtures/test/malformed/malformed.en.html.erb~ | 1 + actionpack/test/fixtures/test/malformed/malformed.erb~ | 1 + actionpack/test/fixtures/test/malformed/malformed.html.erb~ | 1 + 3 files changed, 3 insertions(+) create mode 100644 actionpack/test/fixtures/test/malformed/malformed.en.html.erb~ create mode 100644 actionpack/test/fixtures/test/malformed/malformed.erb~ create mode 100644 actionpack/test/fixtures/test/malformed/malformed.html.erb~ (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/test/malformed/malformed.en.html.erb~ b/actionpack/test/fixtures/test/malformed/malformed.en.html.erb~ new file mode 100644 index 0000000000..d009950384 --- /dev/null +++ b/actionpack/test/fixtures/test/malformed/malformed.en.html.erb~ @@ -0,0 +1 @@ +Don't render me! \ No newline at end of file diff --git a/actionpack/test/fixtures/test/malformed/malformed.erb~ b/actionpack/test/fixtures/test/malformed/malformed.erb~ new file mode 100644 index 0000000000..d009950384 --- /dev/null +++ b/actionpack/test/fixtures/test/malformed/malformed.erb~ @@ -0,0 +1 @@ +Don't render me! \ No newline at end of file diff --git a/actionpack/test/fixtures/test/malformed/malformed.html.erb~ b/actionpack/test/fixtures/test/malformed/malformed.html.erb~ new file mode 100644 index 0000000000..d009950384 --- /dev/null +++ b/actionpack/test/fixtures/test/malformed/malformed.html.erb~ @@ -0,0 +1 @@ +Don't render me! \ No newline at end of file -- cgit v1.2.3 From 87e8b162463f13bd50d27398f020769460a770e3 Mon Sep 17 00:00:00 2001 From: Matt Jones Date: Sat, 7 Mar 2009 13:32:46 -0600 Subject: fix HTML fallback for explicit templates [#2052 state:resolved] Signed-off-by: Joshua Peek --- actionpack/test/fixtures/layouts/default_html.html.erb | 1 + 1 file changed, 1 insertion(+) create mode 100644 actionpack/test/fixtures/layouts/default_html.html.erb (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/layouts/default_html.html.erb b/actionpack/test/fixtures/layouts/default_html.html.erb new file mode 100644 index 0000000000..edd719111c --- /dev/null +++ b/actionpack/test/fixtures/layouts/default_html.html.erb @@ -0,0 +1 @@ +<%= @content_for_layout %> -- cgit v1.2.3 From ea8488caef77cb8cf2031d344e74981ab6ea0e57 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sat, 7 Mar 2009 14:05:18 -0600 Subject: Fixed simplified render with nested models [#2042 state:resolved] --- actionpack/test/fixtures/quiz/questions/_question.html.erb | 1 + 1 file changed, 1 insertion(+) create mode 100644 actionpack/test/fixtures/quiz/questions/_question.html.erb (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/quiz/questions/_question.html.erb b/actionpack/test/fixtures/quiz/questions/_question.html.erb new file mode 100644 index 0000000000..fb4dcfee64 --- /dev/null +++ b/actionpack/test/fixtures/quiz/questions/_question.html.erb @@ -0,0 +1 @@ +<%= question.name %> \ No newline at end of file -- cgit v1.2.3 From 44423126c6f6133a1d9cf1d0832b527e8711d40f Mon Sep 17 00:00:00 2001 From: Cezary Baginski Date: Thu, 2 Apr 2009 11:58:29 -0500 Subject: Additional template render test for backup files [#2367 state:resolved] Signed-off-by: Joshua Peek --- actionpack/test/fixtures/test/backup_files/item.html.erb | 1 + actionpack/test/fixtures/test/backup_files/item.html.erb.orig | 1 + 2 files changed, 2 insertions(+) create mode 100644 actionpack/test/fixtures/test/backup_files/item.html.erb create mode 100644 actionpack/test/fixtures/test/backup_files/item.html.erb.orig (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/test/backup_files/item.html.erb b/actionpack/test/fixtures/test/backup_files/item.html.erb new file mode 100644 index 0000000000..aaac0a2160 --- /dev/null +++ b/actionpack/test/fixtures/test/backup_files/item.html.erb @@ -0,0 +1 @@ +The correct item.erb was loaded. diff --git a/actionpack/test/fixtures/test/backup_files/item.html.erb.orig b/actionpack/test/fixtures/test/backup_files/item.html.erb.orig new file mode 100644 index 0000000000..a2b153e5a2 --- /dev/null +++ b/actionpack/test/fixtures/test/backup_files/item.html.erb.orig @@ -0,0 +1 @@ +This is an editor backup file and should never be loaded! -- cgit v1.2.3