Skip to content

Commit

Permalink
Update attachments spec
Browse files Browse the repository at this point in the history
  • Loading branch information
aapomm committed Apr 18, 2024
1 parent dbb5670 commit f880a2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
end

describe 'GET /api/nodes/:node_id/attachments/:filename/download' do
it 'responds with the file' do
it 'returns with the file' do
create(:attachment, filename: 'image.png', node: node)

get "/api/nodes/#{node.id}/attachments/image.png/download", env: @env
Expand Down

0 comments on commit f880a2a

Please sign in to comment.