summaryrefslogtreecommitdiff
path: root/test/controllers/content_controller_test.rb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-30 19:14:29 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-30 19:17:56 +0200
commitc96dce638ec8f10db18a871bae7fc7a3d14fa5b3 (patch)
treee81f070ef77a00ad9e22e553817f1b2542626185 /test/controllers/content_controller_test.rb
parentfe00d5bb8e872535149d2d7017b59ad28813e012 (diff)
Fix aggregate shortcode syntax in content_controller_test
Test used the old <aggregate ...> tag form; production templates already use the [aggregate ...] shortcode.
Diffstat (limited to 'test/controllers/content_controller_test.rb')
-rw-r--r--test/controllers/content_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
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
40 40
41 new_node = create_node_under_root "fnord" 41 new_node = create_node_under_root "fnord"
42 draft = new_node.find_or_create_draft @user1 42 draft = new_node.find_or_create_draft @user1
43 draft.body = '<aggregate tags="update" limit="20" />' 43 draft.body = '[aggregate tags="update" limit="20"]'
44 draft.save 44 draft.save
45 new_node.publish_draft! 45 new_node.publish_draft!
46 46
@@ -59,7 +59,7 @@ class ContentControllerTest < ActionController::TestCase
59 59
60 new_node = create_node_under_root "fnord" 60 new_node = create_node_under_root "fnord"
61 draft = new_node.find_or_create_draft @user1 61 draft = new_node.find_or_create_draft @user1
62 draft.body = '<aggregate tags="update" limit="20" partial="sidebar_title_only" />' 62 draft.body = '[aggregate tags="update" limit="20" partial="sidebar_title_only"]'
63 draft.save 63 draft.save
64 new_node.publish_draft! 64 new_node.publish_draft!
65 65