Skip to content

Commit

Permalink
minor spec fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvilleneuve committed Feb 12, 2025
1 parent dbe1071 commit aa00b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/sessions_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@

it "redirects to root page" do
delete :destroy
expect(response).to redirect_to(root_path)
expect(response).to redirect_to(/www.rdv-solidarites-test/)
expect(flash[:notice]).to eq("Déconnexion réussie")
end
end
Expand Down

0 comments on commit aa00b8f

Please sign in to comment.