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/settings_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/settings_controller_test.rb')
-rw-r--r-- | test/functional/settings_controller_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb index cee769a16..3c013146e 100644 --- a/test/functional/settings_controller_test.rb +++ b/test/functional/settings_controller_test.rb @@ -219,7 +219,7 @@ class SettingsControllerTest < Redmine::ControllerTest def test_get_invalid_plugin_settings get :plugin, :params => {:id => 'none'} - assert_response 404 + assert_response :not_found end def test_get_non_configurable_plugin_settings @@ -228,7 +228,7 @@ class SettingsControllerTest < Redmine::ControllerTest end get :plugin, :params => {:id => 'foo'} - assert_response 404 + assert_response :not_found ensure Redmine::Plugin.unregister(:foo) @@ -274,7 +274,7 @@ class SettingsControllerTest < Redmine::ControllerTest :id => 'foo', :settings => {'sample_setting' => 'Value'} } - assert_response 404 + assert_response :not_found ensure Redmine::Plugin.unregister(:foo) |