X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c8f6d6df0f2d7ad15de4833e855701b05d1dde5e..c0bdcd53d2c04638a7490400e2abb43c88fe99ad:/test/helpers/changesets_helper_test.rb?ds=inline
diff --git a/test/helpers/changesets_helper_test.rb b/test/helpers/changesets_helper_test.rb
index f6cfb3c06..067c2b071 100644
--- a/test/helpers/changesets_helper_test.rb
+++ b/test/helpers/changesets_helper_test.rb
@@ -17,11 +17,11 @@ class ChangesetsHelperTest < ActionView::TestCase
# We need to explicitly reset the closed_at to some point in the future, and avoid the before_save callback
changeset.update_column(:closed_at, Time.now.utc + 1.day) # rubocop:disable Rails/SkipsModelValidations
- assert_match %r{^Created .* by anonymous$}, changeset_details(changeset)
+ assert_match %r{^Created by anonymous$}, changeset_details(changeset)
changeset = create(:changeset, :created_at => Time.utc(2007, 1, 1, 0, 0, 0), :closed_at => Time.utc(2007, 1, 2, 0, 0, 0))
user_link = %(#{changeset.user.display_name})
- assert_match %r{^Closed .* by #{user_link}$}, changeset_details(changeset)
+ assert_match %r{^Closed by #{user_link}$}, changeset_details(changeset)
end
end