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