X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/318064b2a7f4b39119dfab02c712832c0f8c5859..2f53c2520dbc6455e5d8db87cc0b673618f09b68:/test/controllers/preferences_controller_test.rb diff --git a/test/controllers/preferences_controller_test.rb b/test/controllers/preferences_controller_test.rb index 46d761ca4..81760fe5d 100644 --- a/test/controllers/preferences_controller_test.rb +++ b/test/controllers/preferences_controller_test.rb @@ -36,7 +36,6 @@ class PreferencesControllerTest < ActionDispatch::IntegrationTest # Changing to a valid editor should work user.preferred_editor = "id" put preferences_path, :params => { :user => user.attributes } - assert_response :redirect assert_redirected_to preferences_path follow_redirect! assert_template :show @@ -46,7 +45,6 @@ class PreferencesControllerTest < ActionDispatch::IntegrationTest # Changing to the default editor should work user.preferred_editor = "default" put preferences_path, :params => { :user => user.attributes } - assert_response :redirect assert_redirected_to preferences_path follow_redirect! assert_template :show