diff --git a/plugins/context_content/lib/context_content_block.rb b/plugins/context_content/lib/context_content_block.rb index 685fc6a..9b35a64 100644 --- a/plugins/context_content/lib/context_content_block.rb +++ b/plugins/context_content/lib/context_content_block.rb @@ -88,4 +88,8 @@ class ContextContentBlock < Block end end + def cacheable? + false + end + end diff --git a/plugins/context_content/test/unit/context_content_block_test.rb b/plugins/context_content/test/unit/context_content_block_test.rb index e7cc988..f43d031 100644 --- a/plugins/context_content/test/unit/context_content_block_test.rb +++ b/plugins/context_content/test/unit/context_content_block_test.rb @@ -171,4 +171,8 @@ class ContextContentBlockTest < ActiveSupport::TestCase assert_equal profile, block.profile end + should 'not be cacheable' do + assert !@block.cacheable? + end + end -- libgit2 0.21.2