From 6c15610fb33cd07699b0cf9a0482afdaa2699c6b Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 30 Oct 2025 15:56:12 +0100 Subject: [PATCH] Fix test --- test/controllers/cards_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers/cards_controller_test.rb b/test/controllers/cards_controller_test.rb index dd17d0b48..4ee37cc2c 100644 --- a/test/controllers/cards_controller_test.rb +++ b/test/controllers/cards_controller_test.rb @@ -39,7 +39,7 @@ class CardsControllerTest < ActionDispatch::IntegrationTest image: fixture_file_upload("moon.jpg", "image/jpeg"), description: "Something more in-depth", tag_ids: [ tags(:mobile).id ] } } - assert_response :success + assert_redirected_to card_path(cards(:logo)) card = cards(:logo).reload assert_equal "Logo needs to change", card.title