X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/05beafb2f336a7ce6d22179b1270c299e6d52632..c77c7d015f224db8c383932c3745e1cbd48eb519:/test/helpers/changeset_helper_test.rb
diff --git a/test/helpers/changeset_helper_test.rb b/test/helpers/changeset_helper_test.rb
index 9c45b62dc..d932138f8 100644
--- a/test/helpers/changeset_helper_test.rb
+++ b/test/helpers/changeset_helper_test.rb
@@ -3,7 +3,7 @@ require "test_helper"
class ChangesetHelperTest < ActionView::TestCase
def test_changeset_user_link
changeset = create(:changeset)
- assert_equal %(#{changeset.user.display_name}), changeset_user_link(changeset)
+ assert_equal %(#{changeset.user.display_name}), changeset_user_link(changeset)
changeset = create(:changeset, :user => create(:user, :data_public => false))
assert_equal "anonymous", changeset_user_link(changeset)
@@ -20,7 +20,7 @@ class ChangesetHelperTest < ActionView::TestCase
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})
+ user_link = %(#{changeset.user.display_name})
assert_match %r{^Closed .* by #{user_link}$}, changeset_details(changeset)
end