test/integration/with_javascript/comment_test.rb in proclaim-0.5.3 vs test/integration/with_javascript/comment_test.rb in proclaim-0.5.5

- old
+ new

@@ -263,11 +263,11 @@ current_count = Proclaim::Comment.count @show_page.comment_delete_link(comment).click page.accept_alert - assert page.has_no_text? comment.author - assert page.has_no_text? comment.body + assert page.has_no_text?(comment.author), "Comment author should be gone!" + assert page.has_no_text?(comment.body), "Comment body should be gone!" assert(wait_until { Proclaim::Comment.count == current_count - 1 }, "Root comment should have been deleted!") end