X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d65e01982324fa28b03557f3b819328e5c0b724c..35fbcf28154b6f15f697018016fbabc952e018a5:/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 3fa5d266d..bf3de4525 100644 --- a/test/helpers/changeset_helper_test.rb +++ b/test/helpers/changeset_helper_test.rb @@ -1,4 +1,4 @@ -require 'test_helper' +require "test_helper" class ChangesetHelperTest < ActionView::TestCase fixtures :changesets, :users @@ -9,7 +9,7 @@ class ChangesetHelperTest < ActionView::TestCase 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