From 50ca5e40f461290a2db7452b95f80dd3188dba1d Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 24 Jul 2026 18:04:56 +0200 Subject: Rename layout classes to what they actually do --- test/controllers/revisions_controller_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/controllers/revisions_controller_test.rb') diff --git a/test/controllers/revisions_controller_test.rb b/test/controllers/revisions_controller_test.rb index 96c6d6cf..bb21ea68 100644 --- a/test/controllers/revisions_controller_test.rb +++ b/test/controllers/revisions_controller_test.rb @@ -33,8 +33,8 @@ class RevisionsControllerTest < ActionController::TestCase login_as :quentin get :show, params: { :node_id => @node.id, :id => @node.pages.last.id } assert_response :success - assert_select ".node_description", "Body" - assert_select ".node_content", {:count => 1, :text => "second"} + assert_select ".layout_row_label", "Body" + assert_select ".layout_row_content", {:count => 1, :text => "second"} end test "showing a revision renders real markup in the body, not escaped entities" do @@ -46,7 +46,7 @@ class RevisionsControllerTest < ActionController::TestCase get :show, params: { :node_id => node.id, :id => node.head.id } assert_response :success - assert_select ".node_content h3", "Hello" + assert_select ".layout_row_content h3", "Hello" end test "diffing two revisions" do -- cgit v1.3