Commit 64e78c0911a6e21dcb5fbdf0c7d2fa91fed23dcf
1 parent
7513eb46
Exists in
master
and in
22 other branches
Do not cache context content block
Showing
2 changed files
with
8 additions
and
0 deletions
Show diff stats
plugins/context_content/lib/context_content_block.rb
plugins/context_content/test/unit/context_content_block_test.rb
| @@ -171,4 +171,8 @@ class ContextContentBlockTest < ActiveSupport::TestCase | @@ -171,4 +171,8 @@ class ContextContentBlockTest < ActiveSupport::TestCase | ||
| 171 | assert_equal profile, block.profile | 171 | assert_equal profile, block.profile |
| 172 | end | 172 | end |
| 173 | 173 | ||
| 174 | + should 'not be cacheable' do | ||
| 175 | + assert !@block.cacheable? | ||
| 176 | + end | ||
| 177 | + | ||
| 174 | end | 178 | end |