From c61fa77d6bdf8839bc4070ea309e1c0d355ccd10 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Thu, 17 Apr 2025 17:03:18 -0500 Subject: [PATCH] Fix failing test (we're no longer redirecting here See: #411 --- 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 e794e7898..5272dc182 100644 --- a/test/controllers/cards_controller_test.rb +++ b/test/controllers/cards_controller_test.rb @@ -40,7 +40,7 @@ class CardsControllerTest < ActionDispatch::IntegrationTest image: fixture_file_upload("moon.jpg", "image/jpeg"), draft_comment: "Something more in-depth", tag_ids: [ tags(:mobile).id ] } } - assert_redirected_to collection_card_path(collections(:writebook), cards(:logo)) + assert_response :success card = cards(:logo).reload assert_equal "Logo needs to change", card.title