From b1767ab637764fa22213e5e5e57041bdec8ca16d Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sun, 25 Aug 2024 05:08:12 +0000 Subject: Fix RuboCop offense Rails/PluralizationGrammar (#39889). git-svn-id: https://svn.redmine.org/redmine/trunk@22985 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/attachments_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional') diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb index 2af340f6d..61c71b312 100644 --- a/test/functional/attachments_controller_test.rb +++ b/test/functional/attachments_controller_test.rb @@ -201,7 +201,7 @@ class AttachmentsControllerTest < Redmine::ControllerTest def test_show_text_file_should_show_other_if_too_big @request.session[:user_id] = 2 with_settings :file_max_size_displayed => 512 do - Attachment.find(4).update_attribute :filesize, 754.kilobyte + Attachment.find(4).update_attribute :filesize, 754.kilobytes get(:show, :params => {:id => 4}) assert_response :success assert_equal 'text/html', @response.media_type -- cgit v1.2.3