X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..16f5a5ac0c674b258996fcbde1c3fda2e651906a:/test/helpers/changeset_helper_test.rb?ds=sidebyside
diff --git a/test/helpers/changeset_helper_test.rb b/test/helpers/changeset_helper_test.rb
index f8ffa1824..8342f99d2 100644
--- a/test/helpers/changeset_helper_test.rb
+++ b/test/helpers/changeset_helper_test.rb
@@ -6,10 +6,11 @@ class ChangesetHelperTest < ActionView::TestCase
def test_changeset_user_link
assert_equal "test2", changeset_user_link(changesets(:public_user_first_change))
assert_equal "anonymous", changeset_user_link(changesets(:normal_user_first_change))
+ assert_equal "deleted", changeset_user_link(changesets(:deleted_user_first_change))
end
def test_changeset_details
- assert_match /^Created .*<\/abbr> by anonymous$/, changeset_details(changesets(:normal_user_first_change))
- assert_match /^Closed .*<\/abbr> by test2<\/a>$/, changeset_details(changesets(:public_user_closed_change))
+ assert_match %r{^Created .* by anonymous$}, changeset_details(changesets(:normal_user_first_change))
+ assert_match %r{^Closed .* by test2$}, changeset_details(changesets(:public_user_closed_change))
end
end