[#40228] added check for deleted file link to spec

pull/10183/head
Eric Schubert 3 years ago
parent e9eb2eada1
commit e45c06ddab
No known key found for this signature in database
GPG Key ID: 1D346C019BD4BAA2
  1. 1
      modules/storages/spec/requests/api/v3/file_links/file_links_spec.rb

@ -171,6 +171,7 @@ describe 'API v3 file links resource', type: :request do
it 'is successful' do it 'is successful' do
expect(subject.status).to be 204 expect(subject.status).to be 204
expect(::Storages::FileLink.exists?(id: file_link.id)).to be false
end end
context 'if user has no view permissions' do context 'if user has no view permissions' do

Loading…
Cancel
Save