mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
user_controller_spec: get rid of rails 7 deprecation warning
This commit is contained in:
parent
f0d26a1555
commit
06a20d34d2
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ describe UserController, type: :controller do
|
|||
subject { patch :update, params: { user: avatar_params } }
|
||||
let(:avatar_params) do
|
||||
{
|
||||
profile_picture: fixture_file_upload("files/banana_racc.jpg", "image/jpeg")
|
||||
profile_picture: fixture_file_upload("banana_racc.jpg", "image/jpeg")
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -168,7 +168,7 @@ describe UserController, type: :controller do
|
|||
subject { patch :update, params: { user: header_params } }
|
||||
let(:header_params) do
|
||||
{
|
||||
profile_header: fixture_file_upload("files/banana_racc.jpg", "image/jpeg")
|
||||
profile_header: fixture_file_upload("banana_racc.jpg", "image/jpeg")
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue