X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0ab8d954ad6d6e4cee5c1238973b8f693c788fcb..d479a3781a1c5437620010c5254039befec30f5c:/test/system/create_note_test.rb 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