aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs')
-rw-r--r--actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs6
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs b/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs
new file mode 100644
index 0000000000..057f15e62f
--- /dev/null
+++ b/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs
@@ -0,0 +1,6 @@
+page.assign 'title', 'Hey'
+cache do
+ page['element_1'].visual_effect :highlight
+ page['element_2'].visual_effect :highlight
+end
+page.assign 'footer', 'Bye'