]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/5593'
authorTom Hughes <tom@compton.nu>
Mon, 3 Feb 2025 18:50:35 +0000 (18:50 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 3 Feb 2025 18:50:35 +0000 (18:50 +0000)
test/system/create_note_test.rb

index dd13a286f55e3061be1c51bbba764fcc24628ce5..410d5dfb7b0fdcaa0e0a42486445a2117cde4044 100644 (file)
@@ -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