From db045dbbf60b53dbe013ef25554fd013baf88134 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 24 Nov 2004 01:04:44 +0000 Subject: Initial git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/fixtures/helpers/abc_helper.rb | 5 +++++ actionpack/test/fixtures/layouts/builder.rxml | 3 +++ actionpack/test/fixtures/layouts/standard.rhtml | 1 + actionpack/test/fixtures/scope/test/modgreet.rhtml | 1 + actionpack/test/fixtures/test/_customer.rhtml | 1 + actionpack/test/fixtures/test/greeting.rhtml | 1 + actionpack/test/fixtures/test/hello.rxml | 4 ++++ actionpack/test/fixtures/test/hello_world.rhtml | 1 + actionpack/test/fixtures/test/hello_xml_world.rxml | 11 +++++++++++ actionpack/test/fixtures/test/list.rhtml | 1 + 10 files changed, 29 insertions(+) create mode 100644 actionpack/test/fixtures/helpers/abc_helper.rb create mode 100644 actionpack/test/fixtures/layouts/builder.rxml create mode 100644 actionpack/test/fixtures/layouts/standard.rhtml create mode 100644 actionpack/test/fixtures/scope/test/modgreet.rhtml create mode 100644 actionpack/test/fixtures/test/_customer.rhtml create mode 100644 actionpack/test/fixtures/test/greeting.rhtml create mode 100644 actionpack/test/fixtures/test/hello.rxml create mode 100644 actionpack/test/fixtures/test/hello_world.rhtml create mode 100644 actionpack/test/fixtures/test/hello_xml_world.rxml create mode 100644 actionpack/test/fixtures/test/list.rhtml (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/helpers/abc_helper.rb b/actionpack/test/fixtures/helpers/abc_helper.rb new file mode 100644 index 0000000000..7104ff3730 --- /dev/null +++ b/actionpack/test/fixtures/helpers/abc_helper.rb @@ -0,0 +1,5 @@ +module AbcHelper + def bare_a() end + def bare_b() end + def bare_c() end +end diff --git a/actionpack/test/fixtures/layouts/builder.rxml b/actionpack/test/fixtures/layouts/builder.rxml new file mode 100644 index 0000000000..729af4b8bc --- /dev/null +++ b/actionpack/test/fixtures/layouts/builder.rxml @@ -0,0 +1,3 @@ +xml.wrapper do + xml << @content_for_layout +end \ No newline at end of file diff --git a/actionpack/test/fixtures/layouts/standard.rhtml b/actionpack/test/fixtures/layouts/standard.rhtml new file mode 100644 index 0000000000..fcb28ec755 --- /dev/null +++ b/actionpack/test/fixtures/layouts/standard.rhtml @@ -0,0 +1 @@ +<%= @content_for_layout %> \ No newline at end of file diff --git a/actionpack/test/fixtures/scope/test/modgreet.rhtml b/actionpack/test/fixtures/scope/test/modgreet.rhtml new file mode 100644 index 0000000000..8947726e89 --- /dev/null +++ b/actionpack/test/fixtures/scope/test/modgreet.rhtml @@ -0,0 +1 @@ +

Beautiful modules!

\ No newline at end of file diff --git a/actionpack/test/fixtures/test/_customer.rhtml b/actionpack/test/fixtures/test/_customer.rhtml new file mode 100644 index 0000000000..872d8c44e6 --- /dev/null +++ b/actionpack/test/fixtures/test/_customer.rhtml @@ -0,0 +1 @@ +Hello: <%= customer.name %> \ No newline at end of file diff --git a/actionpack/test/fixtures/test/greeting.rhtml b/actionpack/test/fixtures/test/greeting.rhtml new file mode 100644 index 0000000000..62fb0293f0 --- /dev/null +++ b/actionpack/test/fixtures/test/greeting.rhtml @@ -0,0 +1 @@ +

This is grand!

diff --git a/actionpack/test/fixtures/test/hello.rxml b/actionpack/test/fixtures/test/hello.rxml new file mode 100644 index 0000000000..82a4a310d3 --- /dev/null +++ b/actionpack/test/fixtures/test/hello.rxml @@ -0,0 +1,4 @@ +xml.html do + xml.p "Hello #{@name}" + xml << render_file("test/greeting") +end \ No newline at end of file diff --git a/actionpack/test/fixtures/test/hello_world.rhtml b/actionpack/test/fixtures/test/hello_world.rhtml new file mode 100644 index 0000000000..6769dd60bd --- /dev/null +++ b/actionpack/test/fixtures/test/hello_world.rhtml @@ -0,0 +1 @@ +Hello world! \ No newline at end of file diff --git a/actionpack/test/fixtures/test/hello_xml_world.rxml b/actionpack/test/fixtures/test/hello_xml_world.rxml new file mode 100644 index 0000000000..02b14fe87c --- /dev/null +++ b/actionpack/test/fixtures/test/hello_xml_world.rxml @@ -0,0 +1,11 @@ +xml.html do + xml.head do + xml.title "Hello World" + end + + xml.body do + xml.p "abes" + xml.p "monks" + xml.p "wiseguys" + end +end \ No newline at end of file diff --git a/actionpack/test/fixtures/test/list.rhtml b/actionpack/test/fixtures/test/list.rhtml new file mode 100644 index 0000000000..39e2cad966 --- /dev/null +++ b/actionpack/test/fixtures/test/list.rhtml @@ -0,0 +1 @@ +<%= render_collection_of_partials "customer", @customers %> \ No newline at end of file -- cgit v1.2.3