diff options
author | Go MAEDA <maeda@farend.jp> | 2024-08-25 05:08:12 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-08-25 05:08:12 +0000 |
commit | b1767ab637764fa22213e5e5e57041bdec8ca16d (patch) | |
tree | 833ecf4a1dde6e2fc9cc0d15de2cc7c80e4e0e5f /test/functional | |
parent | 9c2bcfea29265cd10446bcfbd4cb206e18c91f4f (diff) | |
download | redmine-b1767ab637764fa22213e5e5e57041bdec8ca16d.tar.gz redmine-b1767ab637764fa22213e5e5e57041bdec8ca16d.zip |
Fix RuboCop offense Rails/PluralizationGrammar (#39889).
git-svn-id: https://svn.redmine.org/redmine/trunk@22985 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/attachments_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |