mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 10:29:53 +01:00
Update test for profile picture controller to render form instead of redirecting
This commit is contained in:
parent
4df74d6ff5
commit
6d9ef9ee64
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ describe Settings::ProfilePictureController, type: :controller do
|
|||
|
||||
it "redirects to the edit_user_profile page" do
|
||||
subject
|
||||
expect(response).to redirect_to(:settings_profile)
|
||||
expect(response).to have_http_status(:ok)
|
||||
expect(response).to have_rendered(:edit)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue