aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-07-23 08:43:01 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-07-23 08:43:01 +0000
commitd1725929852ab9da48f7ff7c4fa7f401ac55c331 (patch)
treec7ae66a7fd50ec9765285a226ff972bf96162625 /actionpack/test/fixtures
parent023c4d68cc298f3a4e66fe5f17ca7e99547768b6 (diff)
downloadrails-d1725929852ab9da48f7ff7c4fa7f401ac55c331.tar.gz
rails-d1725929852ab9da48f7ff7c4fa7f401ac55c331.tar.bz2
rails-d1725929852ab9da48f7ff7c4fa7f401ac55c331.zip
Added test for template to layout variable transfer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r--actionpack/test/fixtures/layouts/talk_from_action.rhtml2
-rw-r--r--actionpack/test/fixtures/test/action_talk_to_layout.rhtml2
2 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/layouts/talk_from_action.rhtml b/actionpack/test/fixtures/layouts/talk_from_action.rhtml
new file mode 100644
index 0000000000..215dfd27ac
--- /dev/null
+++ b/actionpack/test/fixtures/layouts/talk_from_action.rhtml
@@ -0,0 +1,2 @@
+<title><%= @title %></title>
+<%= @content_for_layout -%> \ No newline at end of file
diff --git a/actionpack/test/fixtures/test/action_talk_to_layout.rhtml b/actionpack/test/fixtures/test/action_talk_to_layout.rhtml
new file mode 100644
index 0000000000..36e896daa8
--- /dev/null
+++ b/actionpack/test/fixtures/test/action_talk_to_layout.rhtml
@@ -0,0 +1,2 @@
+<% @title = "Talking to the layout" -%>
+Action was here! \ No newline at end of file