From a8fc78fa90ece3165793c59d8b06276175dd7ea8 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 29 Oct 2025 11:23:13 -0500 Subject: [PATCH] Update tests --- test/controllers/events_controller_test.rb | 4 ++-- test/models/card/eventable/system_commenter_test.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/controllers/events_controller_test.rb b/test/controllers/events_controller_test.rb index 528b2da48..c89c06540 100644 --- a/test/controllers/events_controller_test.rb +++ b/test/controllers/events_controller_test.rb @@ -12,7 +12,7 @@ class EventsControllerTest < ActionDispatch::IntegrationTest get events_path assert_select "div.events__time-block[style='grid-area: 17/2']" do - assert_select "strong", text: "David assigned JZ to \"Layout is broken\"" + assert_select "strong", text: "David assigned JZ to Layout is broken" end end @@ -22,7 +22,7 @@ class EventsControllerTest < ActionDispatch::IntegrationTest get events_path assert_select "div.events__time-block[style='grid-area: 22/2']" do - assert_select "strong", text: "David assigned JZ to \"Layout is broken\"" + assert_select "strong", text: "David assigned JZ to Layout is broken" end end diff --git a/test/models/card/eventable/system_commenter_test.rb b/test/models/card/eventable/system_commenter_test.rb index e07c9474f..fa8e9ed0a 100644 --- a/test/models/card/eventable/system_commenter_test.rb +++ b/test/models/card/eventable/system_commenter_test.rb @@ -22,13 +22,13 @@ class Card::Eventable::SystemCommenterTest < ActiveSupport::TestCase end test "card_closed" do - assert_system_comment "Moved to Done by David" do + assert_system_comment "Moved to “Done” by David" do @card.close end end test "card_title_changed" do - assert_system_comment "David changed the title from ‘The text is too small’ to ‘Make text larger’" do + assert_system_comment "David changed the title from “The text is too small” to “Make text larger”" do @card.update! title: "Make text larger" end end