BigW Consortium Gitlab

Commit 1bcb1ef8 by 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 ...@@ -258,8 +258,8 @@ describe API::API, api: true do
body: 'Hi!' body: 'Hi!'
end end
it 'responds with 500' do it 'responds with resource not found error' do
expect(response.status).to eq 500 expect(response.status).to eq 404
end end
it 'does not create new note' do 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