From af2fc3feba429ecf89f85aa4aca1dfb37077a456 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Tue, 11 Nov 2025 21:55:36 -0500 Subject: [PATCH] Fixed a test after changing links to turbo --- test/controllers/schools_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers/schools_controller_test.rb b/test/controllers/schools_controller_test.rb index a78995a..ee4216c 100644 --- a/test/controllers/schools_controller_test.rb +++ b/test/controllers/schools_controller_test.rb @@ -357,7 +357,7 @@ Some Guy @school.wrestlers.each do |wrestler| # Check only for the DELETE link, specifying 'data-method="delete"' to exclude profile links - assert_select "a[href=?][data-method=delete]", wrestler_path(wrestler), count: 1 + assert_select "a[href=?][data-turbo-method=delete]", wrestler_path(wrestler), count: 1 # Check edit link assert_select "a[href=?]", edit_wrestler_path(wrestler), count: 1