X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/925d12cc8176414d0f9531832862a5825783d132..b753a4bf055811f7394ef455196c9dad3e4bd733:/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