From 977b3f9576c39a93eea537532fbd60d090733271 Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Wed, 8 Jan 2025 09:21:46 +0000 Subject: [PATCH] Fix failing test - markup for heading component has changed in latest version --- test/integration/edition_edit_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/edition_edit_test.rb b/test/integration/edition_edit_test.rb index 0a5eaf23d..af17f96bb 100644 --- a/test/integration/edition_edit_test.rb +++ b/test/integration/edition_edit_test.rb @@ -386,7 +386,7 @@ class EditionEditTest < IntegrationTest end should "show 'Metadata' header and an update button" do - within :css, "h2.gem-c-heading" do + within :css, ".gem-c-heading h2" do assert page.has_text?("Edit") end assert page.has_button?("Save")