From 2e251474dcac11b804ab19e12504080134fc0b4b Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 26 Jun 2022 13:39:33 +0200 Subject: [PATCH] Adjust route definitions in tests --- spec/controllers/settings/theme_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/controllers/settings/theme_controller_spec.rb b/spec/controllers/settings/theme_controller_spec.rb index 6fa956df..a2d4451e 100644 --- a/spec/controllers/settings/theme_controller_spec.rb +++ b/spec/controllers/settings/theme_controller_spec.rb @@ -61,7 +61,7 @@ describe Settings::ThemeController, type: :controller do it "renders the edit template" do subject - expect(response).to redirect_to(:edit_user_theme) + expect(response).to redirect_to(:settings_theme) end end @@ -75,7 +75,7 @@ describe Settings::ThemeController, type: :controller do it "renders the edit template" do subject - expect(response).to redirect_to(:edit_user_theme) + expect(response).to redirect_to(:settings_theme) end end end