X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b78bb9f6313f3139ac83784df52bf39a5619d3e7..e8c9513887008ea78d38c95d7befb68179485463:/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