Skip to content

Commit

Permalink
Fix another spec
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEssem committed Dec 18, 2024
1 parent 6e74a9e commit aba630d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/settings/pictures_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
delete :destroy, params: { id: 'avatar' }
expect(response).to redirect_to(settings_profile_path)
expect(response).to have_http_status(303)
expect(service).to have_received(:call).with(user.account, { 'avatar' => nil, 'avatar_remote_url' => '' })
expect(service).to have_received(:call).with(user.account, { 'avatar' => nil, 'avatar_remote_url' => '', 'avatar_description' => '' })
end
end

Expand Down

0 comments on commit aba630d

Please sign in to comment.