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