X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/88ca1f9ed89a9297ac5eef82861f1f264399bb2e..21683db838d66d5b14da08dd5fd467fae09515d4:/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