]> git.openstreetmap.org Git - rails.git/commit
Use `assert_content` instead of `assert page.has_content?`
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 6 Jan 2022 13:16:47 +0000 (13:16 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 6 Jan 2022 13:16:47 +0000 (13:16 +0000)
commitd257c217405efb042b1507c3d134f3912e0e7a98
treea684117e50121372f743c5a7b6e82c5720d9e89f
parent89d9690982a7bef4e7aa03b543a962ed1e8e34d8
Use `assert_content` instead of `assert page.has_content?`

The assert_content comes from capybara, and gives a much more helpful
error message if the test fails.
test/system/confirmation_resend_test.rb
test/system/diary_entry_test.rb
test/system/issues_test.rb
test/system/preferences_test.rb
test/system/report_diary_comment_test.rb
test/system/report_diary_entry_test.rb
test/system/report_note_test.rb
test/system/report_user_test.rb
test/system/user_logout_test.rb
test/system/user_signup_test.rb