aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/fixtures
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2019-02-11 13:15:53 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2019-02-11 13:15:53 -0800
commit3b3975b7dbc115636188126eed2a15bebd4e2c98 (patch)
tree5e8f1b51c0aea5ce2d7cfb0722c273aa41861661 /actionview/test/fixtures
parent38f9e41f2c4b64377ffb036c53873dbfb51546cf (diff)
downloadrails-3b3975b7dbc115636188126eed2a15bebd4e2c98.tar.gz
rails-3b3975b7dbc115636188126eed2a15bebd4e2c98.tar.bz2
rails-3b3975b7dbc115636188126eed2a15bebd4e2c98.zip
Add a failing test for #35222
Diffstat (limited to 'actionview/test/fixtures')
-rw-r--r--actionview/test/fixtures/test/_first.xml.erb1
-rw-r--r--actionview/test/fixtures/test/_second.html.erb1
-rw-r--r--actionview/test/fixtures/test/_second.xml.erb1
-rw-r--r--actionview/test/fixtures/test/mixing_formats.html.erb5
4 files changed, 8 insertions, 0 deletions
diff --git a/actionview/test/fixtures/test/_first.xml.erb b/actionview/test/fixtures/test/_first.xml.erb
new file mode 100644
index 0000000000..6dad140cd4
--- /dev/null
+++ b/actionview/test/fixtures/test/_first.xml.erb
@@ -0,0 +1 @@
+XML
diff --git a/actionview/test/fixtures/test/_second.html.erb b/actionview/test/fixtures/test/_second.html.erb
new file mode 100644
index 0000000000..f05185c383
--- /dev/null
+++ b/actionview/test/fixtures/test/_second.html.erb
@@ -0,0 +1 @@
+HTML
diff --git a/actionview/test/fixtures/test/_second.xml.erb b/actionview/test/fixtures/test/_second.xml.erb
new file mode 100644
index 0000000000..6dad140cd4
--- /dev/null
+++ b/actionview/test/fixtures/test/_second.xml.erb
@@ -0,0 +1 @@
+XML
diff --git a/actionview/test/fixtures/test/mixing_formats.html.erb b/actionview/test/fixtures/test/mixing_formats.html.erb
new file mode 100644
index 0000000000..bb4a1d182a
--- /dev/null
+++ b/actionview/test/fixtures/test/mixing_formats.html.erb
@@ -0,0 +1,5 @@
+{"format":"HTML", "children":
+[
+ "<%= render(partial: "first", formats: :xml).chomp %>",
+ "<%= render(partial: "second").chomp %>"
+]}