From c96dce638ec8f10db18a871bae7fc7a3d14fa5b3 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 30 Jun 2026 19:14:29 +0200 Subject: Fix aggregate shortcode syntax in content_controller_test Test used the old tag form; production templates already use the [aggregate ...] shortcode. --- test/controllers/content_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/controllers') diff --git a/test/controllers/content_controller_test.rb b/test/controllers/content_controller_test.rb index bd5fd7d..9313783 100644 --- a/test/controllers/content_controller_test.rb +++ b/test/controllers/content_controller_test.rb @@ -40,7 +40,7 @@ class ContentControllerTest < ActionController::TestCase new_node = create_node_under_root "fnord" draft = new_node.find_or_create_draft @user1 - draft.body = '' + draft.body = '[aggregate tags="update" limit="20"]' draft.save new_node.publish_draft! @@ -59,7 +59,7 @@ class ContentControllerTest < ActionController::TestCase new_node = create_node_under_root "fnord" draft = new_node.find_or_create_draft @user1 - draft.body = '' + draft.body = '[aggregate tags="update" limit="20" partial="sidebar_title_only"]' draft.save new_node.publish_draft! -- cgit v1.3