From: Tom Hughes Date: Mon, 3 Feb 2025 18:50:35 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/pull/5593' X-Git-Tag: live~58 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/d298d1f051317f755b42da869b9e7cd7bade0fc4?hp=6e6ac07b5da604dc0d23540b7621709343756799 Merge remote-tracking branch 'upstream/pull/5593' --- diff --git a/test/system/create_note_test.rb b/test/system/create_note_test.rb index dd13a286f..410d5dfb7 100644 --- a/test/system/create_note_test.rb +++ b/test/system/create_note_test.rb @@ -23,7 +23,7 @@ class CreateNoteTest < ApplicationSystemTestCase fill_in "text", :with => "Some newly added note description" click_on "Add Note" - assert_content "Unresolved note ##{Note.last.id}" + assert_content "Unresolved note #" assert_content "Some newly added note description" end end @@ -56,7 +56,7 @@ class CreateNoteTest < ApplicationSystemTestCase click_on "Add Note" - assert_content "Unresolved note ##{Note.last.id}" + assert_content "Unresolved note #" assert_content "Some newly added note description" end end