Don't check ids of new notes in create note system tests
This commit is contained in:
parent
8f7f02b025
commit
fe4af49d06
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue