diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb
index 8e5a3a03a..299d34e39 100644
--- a/test/helpers/application_helper_test.rb
+++ b/test/helpers/application_helper_test.rb
@@ -1611,17 +1611,22 @@ class ApplicationHelperTest < Redmine::HelperTest
def test_link_to_attachment
a = Attachment.find(3)
- assert_equal 'logo.gif',
- link_to_attachment(a)
- assert_equal 'Text',
- link_to_attachment(a, :text => 'Text')
+ assert_equal(
+ 'logo.gif',
+ link_to_attachment(a))
+ assert_equal(
+ 'Text',
+ link_to_attachment(a, :text => 'Text'))
result = link_to("logo.gif", "/attachments/3", :class => "foo")
- assert_equal result,
- link_to_attachment(a, :class => 'foo')
- assert_equal 'logo.gif',
- link_to_attachment(a, :download => true)
- assert_equal 'logo.gif',
- link_to_attachment(a, :only_path => false)
+ assert_equal(
+ result,
+ link_to_attachment(a, :class => 'foo'))
+ assert_equal(
+ 'logo.gif',
+ link_to_attachment(a, :download => true))
+ assert_equal(
+ 'logo.gif',
+ link_to_attachment(a, :only_path => false))
end
def test_thumbnail_tag