X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/30a01fb7f9dedc757a27f9bf97e3d720f4530508..e9c660be11df0b39f5bd5e14cbc7c2f641715698:/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