Adjust route definitions in tests

This commit is contained in:
Andreas Nedbal 2022-06-26 13:39:33 +02:00 committed by Karina Kwiatek
parent bafe92968d
commit 2e251474dc
1 changed files with 2 additions and 2 deletions

View File

@ -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