aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-07-15 20:52:29 -0500
committerJoshua Peek <josh@joshpeek.com>2008-07-15 20:54:17 -0500
commit8b306bf24c53f698cd83f7d616f2478a6efa5797 (patch)
tree35d317f126baafec91f3e8bc20b002bbaa84ae17 /actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs
parentecc054352512cac8c0895c78c5f3d043046dcfec (diff)
downloadrails-8b306bf24c53f698cd83f7d616f2478a6efa5797.tar.gz
rails-8b306bf24c53f698cd83f7d616f2478a6efa5797.tar.bz2
rails-8b306bf24c53f698cd83f7d616f2478a6efa5797.zip
Improved test coverage for fragment cache helper
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'