Adjust route definitions in tests
This commit is contained in:
parent
bafe92968d
commit
2e251474dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue