Commit 1bcb1ef8 authored by Grzegorz Bizon's avatar Grzegorz Bizon Committed by Robert Speicher

Update specs for creating new note without access

parent 32b9276c
......@@ -258,8 +258,8 @@ describe API::API, api: true do
body: 'Hi!'
end
it 'responds with 500' do
expect(response.status).to eq 500
it 'responds with resource not found error' do
expect(response.status).to eq 404
end
it 'does not create new note' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment