Source

RubyLearning / ProjectTrak / vendor / rails / actionpack / test / fixtures / functional_caching / formatted_fragment_cached.js.rjs

Full commit
1
2
3
4
5
6
page.assign 'title', 'Hey'
cache do
  page['element_1'].visual_effect :highlight
  page['element_2'].visual_effect :highlight
end
page.assign 'footer', 'Bye'