From 84657fa9d633a7d3e20c10645589061ecebeee3f Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 3 Aug 2026 17:12:34 +0200 Subject: Render dates, booleans and counts through the locale files --- test/controllers/nodes_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/controllers') diff --git a/test/controllers/nodes_controller_test.rb b/test/controllers/nodes_controller_test.rb index f15be067..27c28cfe 100644 --- a/test/controllers/nodes_controller_test.rb +++ b/test/controllers/nodes_controller_test.rb @@ -671,7 +671,7 @@ class NodesControllerTest < ActionController::TestCase erfas_details = erfas_node_div.next_element assert_equal 'details', erfas_details.name - assert_match "2 descendants", erfas_details.at_css('summary').text + assert_match I18n.t("nodes.sitemap.descendants", :count => 2), @response.body end test "sitemap shows Show and Create Child, not Revisions" do -- cgit v1.3