about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-02-02 12:03:49 +0100
committerGitHub <noreply@github.com>2023-02-02 12:03:49 +0100
commit20a479ff7c3bcd8e5c223dae53b30b174d87f1bf (patch)
tree434a876c31275eb3be5f9d538801f85955e32f65 /spec
parent6a5e447753095606e42cc3899887ba7fae77a0e8 (diff)
Change `POST /settings/applications/:id` to regenerate token on scopes change (#23359)
Fixes #23096
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/settings/applications_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/settings/applications_controller_spec.rb b/spec/controllers/settings/applications_controller_spec.rb
index 29c278148..1292e9ff8 100644
--- a/spec/controllers/settings/applications_controller_spec.rb
+++ b/spec/controllers/settings/applications_controller_spec.rb
@@ -132,7 +132,7 @@ describe Settings::ApplicationsController do
       end
 
       it 'redirects back to applications page' do
-        expect(call_update).to redirect_to(settings_applications_path)
+        expect(call_update).to redirect_to(settings_application_path(app))
       end
     end