From a5d7fb9730aa629b3eb8244ee1b3dd863fbfbed5 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Wed, 8 Jul 2026 16:24:52 +0200 Subject: Fix node_content count in show-with-published-draft test Fallout from the earlier nodes#show heading change, which replaced the Title row with an

-- unrelated to the autosave work in the preceding commits. --- test/controllers/nodes_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/controllers/nodes_controller_test.rb b/test/controllers/nodes_controller_test.rb index f0be8c9..030cff0 100644 --- a/test/controllers/nodes_controller_test.rb +++ b/test/controllers/nodes_controller_test.rb @@ -222,7 +222,7 @@ class NodesControllerTest < ActionController::TestCase node = create_node_with_published_page get :show, params: { :id => node.id } assert_response :success - assert_select "div.node_content", :text => "Test", :count => 3 + assert_select "div.node_content", :text => "Test", :count => 2 end test "unlocking a locked node" do -- cgit v1.3