From 1c8a9fdc671c043f92c59a64122bbcf6b61ceb41 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Thu, 23 Oct 2025 07:54:46 -0700 Subject: [PATCH] Update tests --- test/controllers/cards/publishes_controller_test.rb | 2 +- test/system/smoke_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/controllers/cards/publishes_controller_test.rb b/test/controllers/cards/publishes_controller_test.rb index e5a99c51c..bddb6e088 100644 --- a/test/controllers/cards/publishes_controller_test.rb +++ b/test/controllers/cards/publishes_controller_test.rb @@ -13,7 +13,7 @@ class Cards::PublishesControllerTest < ActionDispatch::IntegrationTest post card_publish_path(card) end - assert_redirected_to card + assert_redirected_to card.collection end test "create and add another" do diff --git a/test/system/smoke_test.rb b/test/system/smoke_test.rb index 5a0c5432b..51cb42c45 100644 --- a/test/system/smoke_test.rb +++ b/test/system/smoke_test.rb @@ -10,7 +10,7 @@ class SmokeTest < ApplicationSystemTestCase fill_in_lexxy with: "I am editing this thing" click_on "Create card" - assert_selector "h1", text: "Hello, world!" + assert_selector "h3", text: "Hello, world!" end test "active storage attachments" do