diff options
author | Go MAEDA <maeda@farend.jp> | 2024-05-18 05:56:55 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-05-18 05:56:55 +0000 |
commit | a9518e28b86a330cbbc2cd2c9170e1cd38c458e2 (patch) | |
tree | 0a89a098bd85c03c1eeadfd29beb72683afa30a1 /test/functional/custom_field_enumerations_controller_test.rb | |
parent | 58e9cd420adad1802d42828c8efedca0e6fed2d1 (diff) | |
download | redmine-a9518e28b86a330cbbc2cd2c9170e1cd38c458e2.tar.gz redmine-a9518e28b86a330cbbc2cd2c9170e1cd38c458e2.zip |
Fix RuboCop offense Rails/HttpStatus (#39889).
git-svn-id: https://svn.redmine.org/redmine/trunk@22837 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/custom_field_enumerations_controller_test.rb')
-rw-r--r-- | test/functional/custom_field_enumerations_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/custom_field_enumerations_controller_test.rb b/test/functional/custom_field_enumerations_controller_test.rb index a43187786..e74790495 100644 --- a/test/functional/custom_field_enumerations_controller_test.rb +++ b/test/functional/custom_field_enumerations_controller_test.rb @@ -101,7 +101,7 @@ class CustomFieldEnumerationsControllerTest < Redmine::ControllerTest } } ) - assert_response 302 + assert_response :found @bar.reload assert_equal "Baz", @bar.name @@ -164,7 +164,7 @@ class CustomFieldEnumerationsControllerTest < Redmine::ControllerTest :reassign_to_id => @bar.id } ) - assert_response 302 + assert_response :found end assert_equal @bar.id.to_s, group.reload.custom_field_value(@field) |